Amp\Mysql\Connection class Connection

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 function parseConnStr($connStr, $sslOptions = null)
No documentation.
Type Parameter Description Default Value
mixed $connStr No documentation. none
mixed $sslOptions No documentation. null
useExceptions — public function useExceptions($set)
No documentation.
Type Parameter Description Default Value
mixed $set No documentation. none
alive — public function alive()
No documentation.
isReady — public function isReady()
No documentation.
forceClose — public function forceClose()
No documentation.
getConfig — public function getConfig()
No documentation.
getThis — public function getThis()
No documentation.
connect — public function connect()
No documentation.
onInit — public function onInit()
No documentation.
getConnInfo — public function getConnInfo()
No documentation.
setCharset — public function setCharset($charset, $collate = "")
No documentation.
Type Parameter Description Default Value
mixed $charset No documentation. none
mixed $collate No documentation. ""
close — public function close()
No documentation.
useDb — public function useDb($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
query — public function query($query)
No documentation.
Type Parameter Description Default Value
mixed $query No documentation. none
listFields — public function listFields($table, $like = "%")
No documentation.
Type Parameter Description Default Value
mixed $table No documentation. none
mixed $like No documentation. "%"
listAllFields — public function listAllFields($table, $like = "%")
No documentation.
Type Parameter Description Default Value
mixed $table No documentation. none
mixed $like No documentation. "%"
createDatabase — public function createDatabase($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
dropDatabase — public function dropDatabase($db)
No documentation.
Type Parameter Description Default Value
mixed $db No documentation. none
refresh — public function refresh($subcommand)
No documentation.
Type Parameter Description Default Value
mixed $subcommand No documentation. none
shutdown — public function shutdown()
No documentation.
statistics — public function statistics()
No documentation.
processInfo — public function processInfo()
No documentation.
killProcess — public function killProcess($process)
No documentation.
Type Parameter Description Default Value
mixed $process No documentation. none
debugStdout — public function debugStdout()
No documentation.
ping — public function ping()
No documentation.
resetConnection — public function resetConnection()
No documentation.
prepare — public function prepare($query, $data = null)
No documentation.
Type Parameter Description Default Value
mixed $query No documentation. none
mixed $data No documentation. null
bindParam — public function bindParam($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 function execute($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 function closeStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
resetStmt — public function resetStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
fetchStmt — public function fetchStmt($stmtId)
No documentation.
Type Parameter Description Default Value
mixed $stmtId No documentation. none
onWrite — public function onWrite()
No documentation.
onRead — public function onRead()
No documentation.