$connections
$connections : array<mixed,\it\thecsea\mysqltcs\connections\MysqlConnection>
Class MysqlConnections this class manage the connections pool
$connections : array<mixed,\it\thecsea\mysqltcs\connections\MysqlConnection>
$instance : \it\thecsea\mysqltcs\connections\MysqlConnections
getInstance() : \it\thecsea\mysqltcs\connections\MysqlConnections
Get singleton instance
getConnection(\it\thecsea\mysqltcs\mysqltcs $client, string $host, string $user, string $password, string $name, string $key = "", string $cert = "", string $ca = "") : \it\thecsea\mysqltcs\connections\MysqlConnection
Get a connection; new or old, we don't know this
\it\thecsea\mysqltcs\mysqltcs | $client | |
string | $host | |
string | $user | |
string | $password | |
string | $name | |
string | $key | |
string | $cert | |
string | $ca |
findConnection(string $host, string $user, string $password, string $name, string $key = "", string $cert = "", string $ca = "") : \it\thecsea\mysqltcs\connections\MysqlConnection
Get a connection if it exists, otherwise it creates a new one
string | $host | |
string | $user | |
string | $password | |
string | $name | |
string | $key | |
string | $cert | |
string | $ca |