Amp\Mysql\ConnectionPool class ConnectionPool

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 function getConnectionPromise()
No documentation.
addConnection — public function addConnection()
No documentation.
setCharset — public function setCharset($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 function useExceptions($set)
No documentation.
Type Parameter Description Default Value
mixed $set No documentation. none
getReadyConnection — public function getReadyConnection(): Amp\Mysql\Connection
No documentation.
extractConnection — public function extractConnection()
No documentation.
__destruct — public function __destruct()
No documentation.
close — public function close()
No documentation.