Client::__construct

(No version information available, might only be in Git)

Client::__constructClient constructor

说明

private mysql_xdevapi\Client::__construct()

Construct a client object.

参数

此函数没有参数。

示例

示例 #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();