Session::getClientId

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

Session::getClientIdGet client ID

˵��

public mysql_xdevapi\Session::getClientId ( void ) : integer

Get ID of the connected client.

����

�˺���û�в�����

����ֵ

ID of the connected client.

����

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

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

$clientid $session->getClientId();

var_dump($clientid);

�������̵���������ڣ�

int(53)