<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Table class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysql-xdevapi-statement.hasmoreresults.html">Statement::hasMoreResults</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql-xdevapi-table.construct.html">Table::__construct</a></div> <div class="up"><a href="book.mysql-xdevapi.html">Mysql_xdevapi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.mysql-xdevapi-table" class="reference"> <h1 class="title">Table class</h1> <div class="partintro"><p class="verinfo">(PECL mysql-xdevapi >= 8.0.11)</p> <div class="section" id="mysql-xdevapi-table.intro"> <h2 class="title">Introduction</h2> <p class="para"> Provides access to the table through INSERT/SELECT/UPDATE/DELETE statements. </p> </div> <div class="section" id="mysql-xdevapi-table.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">mysql_xdevapi\Table</strong> </span> <span class="oointerface">implements <span class="interfacename"><a href="class.mysql-xdevapi-schemaobject.html" class="interfacename">mysql_xdevapi\SchemaObject</a></span> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties */</div> <div class="fieldsynopsis"> <span class="modifier">public</span> <var class="varname"><a href="class.mysql-xdevapi-table.html#mysql-xdevapi-table.props.name">$<var class="varname">name</var></a></var> ;</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">integer</span> <span class="methodname"><strong>count</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\TableDelete</span> <span class="methodname"><strong>delete</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>existsInDatabase</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>getName</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\Schema</span> <span class="methodname"><strong>getSchema</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\Session</span> <span class="methodname"><strong>getSession</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\TableInsert</span> <span class="methodname"><strong>insert</strong></span> ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$columns</code></span> [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$...</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>isView</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\TableSelect</span> <span class="methodname"><strong>select</strong></span> ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$columns</code></span> [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$...</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">mysql_xdevapi\TableUpdate</span> <span class="methodname"><strong>update</strong></span> ( <span class="methodparam">void</span> )</div> }</div> </div> <div class="section" id="mysql-xdevapi-table.props"> <h2 class="title">Properties</h2> <dl> <dt id="mysql-xdevapi-table.props.name"><var class="varname"><var class="varname">name</var></var></dt> <dd> <p class="para"/> </dd> </dl> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="mysql-xdevapi-table.construct.html">Table::__construct</a> — Table constructor</li><li><a href="mysql-xdevapi-table.count.html">Table::count</a> — Get row count</li><li><a href="mysql-xdevapi-table.delete.html">Table::delete</a> — Delete rows from table</li><li><a href="mysql-xdevapi-table.existsindatabase.html">Table::existsInDatabase</a> — Check if table exists in database</li><li><a href="mysql-xdevapi-table.getname.html">Table::getName</a> — Get table name</li><li><a href="mysql-xdevapi-table.getschema.html">Table::getSchema</a> — Get table schema</li><li><a href="mysql-xdevapi-table.getsession.html">Table::getSession</a> — Get table session</li><li><a href="mysql-xdevapi-table.insert.html">Table::insert</a> — Insert table rows</li><li><a href="mysql-xdevapi-table.isview.html">Table::isView</a> — Check if table is view</li><li><a href="mysql-xdevapi-table.select.html">Table::select</a> — Select rows from table</li><li><a href="mysql-xdevapi-table.update.html">Table::update</a> — Update rows in table</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysql-xdevapi-statement.hasmoreresults.html">Statement::hasMoreResults</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql-xdevapi-table.construct.html">Table::__construct</a></div> <div class="up"><a href="book.mysql-xdevapi.html">Mysql_xdevapi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>