php8.5
Home/ Manual/ mysql_xdevapi / table/ Table::__construct

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");
?>

Source: reference/mysql_xdevapi/mysql_xdevapi/table/construct.xml · from the official PHP manual (php/doc-en)