Method | Description | |
---|---|---|
__construct ( $config, $limit ) | ||
__destruct ( ) | ||
addConnection ( ) | ||
close ( ) | ||
extractConnection ( ) | ||
getConnectionPromise ( ) | ||
getReadyConnection ( ) : Amp\Mysql\Connection | ||
setCharset ( $charset, $collate = "" ) | First parameter may be collation too, then charset is determined by the prefix of collation | |
useExceptions ( $set ) |
Method | Description | |
---|---|---|
ready ( $conn ) | ||
unmapConnection ( $conn ) | * This method might be called multiple times with the same hash. Important is that it's unmapped immediately |
public getReadyConnection ( ) : Amp\Mysql\Connection | ||
return | Amp\Mysql\Connection |
public setCharset ( $charset, $collate = "" ) |