Module mysql.unsafe.connection
Connect to a MySQL/MariaDB server (unsafe version).
This is the unsafe API for the Connection type. It publicly imports
mysql
, and also provides the unsafe version of the API for
preparing statements. Note that unsafe prepared statements actually use safe
code underneath.
Note that the common pieces of the connection are documented and currently
reside in mysql
. Please see this module for documentation of
the connection object.
This module also contains the soon-to-be-deprecated BackwardCompatPrepared type.
See the Safe Migration document for more details.
Functions
Name | Description |
---|---|
prepare(conn, sql)
|
Convenience functions. |
prepareFunction(conn, name, numArgs)
|
Convenience functions. |
prepareProcedure(conn, name, numArgs)
|
Convenience functions. |