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);