MySQL and PHP
Copyright 1997-2021 the PHP Documentation Group.
Session::__construct
Description constructor
private mysql_xdevapi\Session::__construct();
A Session object, as initiated by getSession().
This function has no parameters.
Example 5.113 mysql_xdevapi\Session::__construct
example
<?php $session = mysql_xdevapi\getSession("mysqlx://user:password@localhost"); $session->close(); ?>