<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.mysql-xdevapi.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'class.mysql-xdevapi-tableselect.php',
    1 => 'mysql_xdevapi\\TableSelect',
    2 => 'TableSelect class',
  ),
  'up' => 
  array (
    0 => 'book.mysql-xdevapi.php',
    1 => 'Mysql_xdevapi',
  ),
  'prev' => 
  array (
    0 => 'mysql-xdevapi-tableinsert.values.php',
    1 => 'TableInsert::values',
  ),
  'next' => 
  array (
    0 => 'mysql-xdevapi-tableselect.bind.php',
    1 => 'TableSelect::bind',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mysql_xdevapi/mysql-xdevapi.tableselect.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.mysql-xdevapi-tableselect.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.mysql-xdevapi-tableselect" class="reference">

 <h1 class="title">TableSelect class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL mysql-xdevapi &gt;= 8.0.11)</p>


  <div class="section" id="mysql-xdevapi-tableselect.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    A statement for record retrieval operations on a Table.
   </p>
  </div>


  <div class="section" id="mysql-xdevapi-tableselect.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <span class="ooclass"><strong class="classname"></strong></span>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">mysql_xdevapi\TableSelect</strong>
     </span>

     <span class="oointerface"><span class="modifier">implements</span> 
       <a href="class.mysql-xdevapi-executable.php" class="interfacename">mysql_xdevapi\Executable</a></span> {</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>bind</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.array.php" class="type array">array</a></span> <code class="parameter">$placeholder_values</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>execute</strong></span>(): <span class="type"><a href="class.mysql-xdevapi-rowresult.php" class="type mysql_xdevapi\RowResult">mysql_xdevapi\RowResult</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>groupBy</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$sort_expr</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>having</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$sort_expr</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>limit</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$rows</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>lockExclusive</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$lock_waiting_option</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>lockShared</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$lock_waiting_option</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>offset</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$position</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>orderby</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$sort_expr</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">...$sort_exprs</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>where</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$where_expr</code></span>): <span class="type"><a href="class.mysql-xdevapi-tableselect.php" class="type mysql_xdevapi\TableSelect">mysql_xdevapi\TableSelect</a></span></div>

   }</div>


  </div>

 </div>

 













































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="mysql-xdevapi-tableselect.bind.php">TableSelect::bind</a> — Bind select query parameters</li><li><a href="mysql-xdevapi-tableselect.construct.php">TableSelect::__construct</a> — TableSelect constructor</li><li><a href="mysql-xdevapi-tableselect.execute.php">TableSelect::execute</a> — Execute select statement</li><li><a href="mysql-xdevapi-tableselect.groupby.php">TableSelect::groupBy</a> — Set select grouping criteria</li><li><a href="mysql-xdevapi-tableselect.having.php">TableSelect::having</a> — Set select having condition</li><li><a href="mysql-xdevapi-tableselect.limit.php">TableSelect::limit</a> — Limit selected rows</li><li><a href="mysql-xdevapi-tableselect.lockexclusive.php">TableSelect::lockExclusive</a> — Execute EXCLUSIVE LOCK</li><li><a href="mysql-xdevapi-tableselect.lockshared.php">TableSelect::lockShared</a> — Execute SHARED LOCK</li><li><a href="mysql-xdevapi-tableselect.offset.php">TableSelect::offset</a> — Set limit offset</li><li><a href="mysql-xdevapi-tableselect.orderby.php">TableSelect::orderby</a> — Set select sort criteria</li><li><a href="mysql-xdevapi-tableselect.where.php">TableSelect::where</a> — Set select search condition</li></ul>
</div>
<?php manual_footer($setup); ?>