MySQL::Connection
Inherits Reference < Object
MySQL connection class. Allows high-level interaction with mysql through LibMySQL.
NOTE: The @handle is totally not threadsafe, because it is stateful. So if concurrency is needed, then each concurrent task should own its own connection.
Constructors
new
SourceInstance methods
client_info
Sourceclose
Sourcecommit_transaction
Sourceconnect(host, user, pass, db, port, socket, flags = 0_u32)
Sourceerror
Sourceinsert_id
Sourcerollback_transaction
Sourceset_option(option : LibMySQL::MySQLOption, value : String)
Sourceset_option(option : LibMySQL::MySQLOption, value : Bool)
Sourceset_option(option : LibMySQL::MySQLOption, value)
Sourcestart_transaction
Sourcetransaction
Source