Documentation Home
MySQL PHP API
Download this Manual
PDF (US Ltr) - 2.4Mb
PDF (A4) - 2.4Mb
HTML Download (TGZ) - 250.1Kb
HTML Download (Zip) - 257.6Kb


MySQL PHP API  /  ...  /  Table::__construct

5.30.1 Table::__construct

Copyright 1997-2019 the PHP Documentation Group.

  • Table::__construct

    Table constructor

Description

private mysql_xdevapi\Table::__construct();

Construct a table object.

Parameters

This function has no parameters.

Examples

Example 5.149 mysql_xdevapi\Table::__construct example

<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");

$schema = $session->getSchema("addressbook");
$table  = $schema->getTable("names");
?>