Table::__construct
PHP function
Edit on GitHub ✎
Table constructor
Description
mysql_xdevapi\Table::__construct()
Construct a table object.
Parameters Parameters
Examples
mysql_xdevapi\Table::__construct() example
php
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table = $schema->getTable("names");
?>