(No version information available, might only be in Git)
Session::close — Close session
Close the session with the server.
此函数没有参数。
true
if the session closed.
Example #1 mysql_xdevapi\Session::close() example
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table = $schema->getTable("names");
$session->close();