array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'mysql-xdevapi-client.construct.php', 1 => 'Client::__construct', ), 'up' => array ( 0 => 'class.mysql-xdevapi-client.php', 1 => 'mysql_xdevapi\\Client', ), 'prev' => array ( 0 => 'mysql-xdevapi-client.close.php', 1 => 'mysql_xdevapi\\Client::close', ), 'next' => array ( 0 => 'mysql-xdevapi-client.getsession.php', 1 => 'Client::getClient', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mysql_xdevapi/mysql_xdevapi/client/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(No version information available, might only be in Git)
Client::__construct — Client constructor
Construct a client object.
Esta función no tiene parámetros.
Ejemplo #1 mysql_xdevapi\Client::__construct() example
<?php
$pooling_options = '{
"enabled": true,
"maxSize": 10,
"maxIdleTime": 3600,
"queueTimeOut": 1000
}';
$client = mysql_xdevapi\getClient($connection_uri, $pooling_options);
$session = $client->getSession();