- PHP 手册
- 函数参考
- 数据库扩展
- 针对各数据库系统对应的扩展
- MySQL
- Mysql_xdevapi
- mysql_xdevapi\Client
Client::__construct
(No version information available, might only be in Git)
Client::__construct — Client 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();
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/mysql-xdevapi-client.construct.php