Session::close
PHP function
Edit on GitHub ✎
Close session
Description
mysql_xdevapi\Session::close(): bool
Close the session with the server.
Parameters Parameters
Return Values
true if the session closed.
Examples
mysql_xdevapi\Session::close() example
php
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table = $schema->getTable("names");
$session->close();