Alias of info.threadId for compatibility
Execute batch. Values are Array of Array.
Start transaction
Permit to change user during connection. All user variables will be reset, Prepare commands will be released. !!! mysql has a bug when CONNECT_ATTRS capability is set, that is default !!!!
Commit a transaction.
Change option "debug" during connection.
Change option "debugCompress" during connection.
Force connection termination by closing the underlying socket and killing server process if any.
Terminate connection gracefully.
This function permit to escape a parameter properly according to parameter type to avoid injection.
parameter
This function permit to escape a Identifier properly . See Identifier Names for escaping. Value will be enclosed
by '' character if content doesn't satisfy: <OL> <LI>ASCII: [0-9,a-z,A-Z$_] (numerals 0-9, basic Latin letters, both lowercase and uppercase, dollar sign, underscore)</LI> <LI>Extended: U+0080 .. U+FFFF and escaping '
' character if needed.
identifier
Execute query using binary (prepare) protocol
Indicates the state of the connection as the driver knows it
Send an empty MySQL packet to ensure connection is active, and reset @@wait_timeout
Prepare query.
Execute query using text protocol.
Execute query returning a Readable Object that will emit columns/data/end/error events to permit streaming big result-set
Release the connection to pool internal cache.
Send a reset command that will
Roll back a transaction.
Alias for info.serverVersion.raw
Generated using TypeDoc
Connection information