Session::killClient

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

Session::killClientKill the client

说明

public mysql_xdevapi\Session::killClient ( integer $client_id ) : object

Kill the selected client and terminate the collection

Warning

本函数还未编写文档,仅有参数列表。

参数

client_id

A connection's client ID.

返回值

范例

Example #1 mysql_xdevapi\Session::killClient() example

<?php
$session 
mysql_xdevapi\getSession("mysqlx://user:password@localhost");

$clientid $session->getClientId();

// ...

$session->killClient($clientid);