API Reference Home:
[This Version]
[Latest Version]
[Other Versions]
Module mysql.connection
Connect to a MySQL/MariaDB server.
Functions
Name | Description |
prepare(conn, sql)
|
Submit an SQL command to the server to be compiled into a prepared statement.
|
prepareBackwardCompat(conn, sql)
|
This function is provided ONLY as a temporary aid in upgrading to mysql-native v2.0.0.
|
prepareFunction(conn, name, numArgs)
|
Convenience function to create a prepared statement which calls a stored function.
|
prepareProcedure(conn, name, numArgs)
|
Convenience function to create a prepared statement which calls a stored procedure.
|
Classes
Name | Description |
Connection
|
A class representing a database connection.
|
Structs
Name | Description |
BackwardCompatPrepared
|
This is a wrapper over Prepared , provided ONLY as a
temporary aid in upgrading to mysql-native v2.0.0 and its
new connection-independent model of prepared statements. See the
migration guide
for more info.
|