# Functions
Close closes global pool, it sets global pool to nil pointer.
Execute execute given sql statement.
Get gets a connection from pool and validate it, if there is no valid connection in the pool, it will create a new connection.
InitGlobalPool returns a new *Pool and replaces it as global pool.
InitGlobalPoolWithConfig returns a new *Pool with a Config object and replaces it as global pool.
InitGlobalPoolWithDefault returns a new *Pool with default configuration and replaces it as global pool.
InitGlobalPoolWithPoolConfig returns a new *Pool with a PoolConfig object and replaces it as global pool.
IsClosed returns if global pool had been closed.
No description provided by the author
No description provided by the author
NewConfig returns a new Config.
NewConn returns connection to mysql database, be aware that addr is host:port style, default charset is utf8mb4.
NewPool returns a new *Pool.
NewPoolConfig returns a new PoolConfig.
NewPoolConfigWithConfig returns a new PoolConfig.
NewPoolConn returns a new *PoolConn.
NewPoolConnWithPool returns a new *PoolConn.
NewPoolWithConfig returns a new *Pool with a Config object.
NewPoolWithDefault returns a new *Pool with default configuration.
NewPoolWithPoolConfig returns a new *Pool with a PoolConfig object.
NewResult returns *Result.
NewStatement returns a new *Statement with given *client.Stmt.
NewVersion returns a new instance of Version.
Parse parses given version string and returns a new instance of Version.
Release releases given number of connections of global pool, each connection will disconnect with database.
ReplaceGlobalPool replaces given pool as global pool.
Supply creates given number of connections and add them to free connection channel of global pool.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
milliseconds.
No description provided by the author
No description provided by the author
No description provided by the author
seconds.
No description provided by the author
No description provided by the author
seconds.
No description provided by the author
seconds.
seconds.
No description provided by the author
seconds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplicationRelay means this mysql instance has source and replica roles at the same time.
ReplicationReplica represents mysql slave, it's an alternative name.
ReplicationSource represents mysql master, it's an alternative name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author