Amp\Mysql\ConnectionPool classConnectionPool

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct($config,$limit)
No documentation.
Type Parameter Description Default Value
mixed $config No documentation. none
mixed $limit No documentation. none
getConnectionPromise —public functiongetConnectionPromise()
No documentation.
addConnection —public functionaddConnection()
No documentation.
setCharset —public functionsetCharset($charset,$collate ="")

First parameter may be collation too, then charset is determined by the prefix of collation

Type Parameter Description Default Value
mixed $charset No documentation. none
mixed $collate No documentation. ""
useExceptions —public functionuseExceptions($set)
No documentation.
Type Parameter Description Default Value
mixed $set No documentation. none
getReadyConnection —public functiongetReadyConnection():Amp\Mysql\Connection
No documentation.
extractConnection —public functionextractConnection()
No documentation.
__destruct —public function__destruct()
No documentation.
close —public functionclose()
No documentation.