PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Client::__construct

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

Client::__constructClient constructor

说明

private mysql_xdevapi\Client::__construct ( void )

Construct a client object.

参数

此函数没有参数。

范例

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