Amp\Mysql\Connection classConnection

Summary

Properties

Methods

Properties

$connectionId —protected $connectionId
No documentation.
$authPluginData —protected $authPluginData
No documentation.
$capabilities —protected $capabilities =0
No documentation.
$serverCapabilities —protected $serverCapabilities =0
No documentation.
$authPluginName —protected $authPluginName
No documentation.
$connInfo —protected $connInfo
No documentation.
$connectionState —protected $connectionState =self::UNCONNECTED
No documentation.

Methods

__construct —public function__construct($config,$sslOptions =null)
No documentation.
Type Parameter Description Default Value
mixed $config No documentation. none
mixed $sslOptions No documentation. null
parseConnStr —public functionparseConnStr($connStr,$sslOptions =null)
No documentation.
Type Parameter Description Default Value
mixed $connStr No documentation. none
mixed $sslOptions No documentation. null
useExceptions —public functionuseExceptions($set)
No documentation.
Type Parameter Description Default Value
mixed $set No documentation. none
alive —public functionalive()
No documentation.
isReady —public functionisReady()
No documentation.
forceClose —public functionforceClose()
No documentation.
getConfig —public functiongetConfig()
No documentation.
getThis —public functiongetThis()
No documentation.
connect —public functionconnect()
No documentation.
onInit —public functiononInit()
No documentation.
getConnInfo —public functiongetConnInfo()
No documentation.
setCharset —public functionsetCharset($charset,$collate ="")
No documentation.
Type Parameter Description Default Value
mixed $charset No documentation. none
mixed $collate No documentation. ""
close —public functionclose()
No documentation.
useDb —public functionuseDb($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
query —public functionquery($query)
No documentation.
Type Parameter Description Default Value
mixed $query No documentation. none
listFields —public functionlistFields($table,$like ="%")
No documentation.
Type Parameter Description Default Value
mixed $table No documentation. none
mixed $like No documentation. "%"
listAllFields —public functionlistAllFields($table,$like ="%")
No documentation.
Type Parameter Description Default Value
mixed $table No documentation. none
mixed $like No documentation. "%"
createDatabase —public functioncreateDatabase($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
dropDatabase —public functiondropDatabase($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
refresh —public functionrefresh($subcommand)
No documentation.
Type Parameter Description Default Value
mixed $subcommand No documentation. none
shutdown —public functionshutdown()
No documentation.
statistics —public functionstatistics()
No documentation.
processInfo —public functionprocessInfo()
No documentation.
killProcess —public functionkillProcess($process)
No documentation.
Type Parameter Description Default Value
mixed $process No documentation. none
debugStdout —public functiondebugStdout()
No documentation.
ping —public functionping()
No documentation.
resetConnection —public functionresetConnection()
No documentation.
prepare —public functionprepare($query,$data =null)
No documentation.
Type Parameter Description Default Value
mixed $query No documentation. none
mixed $data No documentation. null
bindParam —public functionbindParam($stmtId,$paramId,$data)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
mixed $paramId No documentation. none
mixed $data No documentation. none
execute —public functionexecute($stmtId,$query,&$params,$prebound,$data =[])
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
mixed $query No documentation. none
mixed & $params No documentation. none
mixed $prebound No documentation. none
mixed $data No documentation. []
closeStmt —public functioncloseStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
resetStmt —public functionresetStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
fetchStmt —public functionfetchStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
onWrite —public functiononWrite()
No documentation.
onRead —public functiononRead()
No documentation.