<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pdo.drivers.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ref.pdo-cubrid.php',
    1 => 'CUBRID PDO Driver',
    2 => 'CUBRID PDO Driver (PDO_CUBRID)',
  ),
  'up' => 
  array (
    0 => 'pdo.drivers.php',
    1 => 'PDO 驱动',
  ),
  'prev' => 
  array (
    0 => 'pdo.drivers.php',
    1 => 'PDO 驱动',
  ),
  'next' => 
  array (
    0 => 'ref.pdo-cubrid.connection.php',
    1 => 'PDO_CUBRID DSN',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pdo_cubrid/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.pdo-cubrid.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.pdo-cubrid" class="reference">
 <h1 class="title">CUBRID PDO Driver (PDO_CUBRID)</h1>
 
 <div class="partintro">

  <div class="section" id="pdo-cubrid.intro"><h2 class="title">简介</h2>
   <p class="simpara">
    PDO_CUBRID is a driver that implements the
    <a href="book.pdo.php#intro.pdo" class="link">PHP Data Objects (PDO) interface</a>
    to enable access from PHP to CUBRID databases.
   </p>
   <blockquote class="note"><p><strong class="note">注意</strong>: <span class="simpara">
    Current version of PDO_CUBRID doesn&#039;t support persistent connection now.
   </span></p></blockquote>
  </div>

  
  

<div class="section" id="ref.pdo-cubrid.installation">
 <h2 class="title">安装</h2>
 <p class="para">
  To build the PDO_CUBRID extension, the CUBRID DBMS must be installed on the
  same system as PHP.

  PDO_CUBRID is a <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> extension, so follow the instructions in
  <a href="install.pecl.php" class="xref">PECL 扩展安装</a>
  to install the PDO_CUBRID extension.
  Issue the <strong class="command">configure</strong> command to point to the location of the
  CUBRID base dir as follows:
  <div class="example-contents screen">
<div class="cdata"><pre>
   $ ./configure --with-pdo-cubrid=/path/to/CUBRID[,shared]
</pre></div>
  </div>
  The <strong class="command">configure</strong> command defaults to the value of the
  <var class="envar">CUBRID</var>
  environment variable.
 </p>
 <p class="simpara">
  <abbr title="PHP Extension and Application Repository">PECL</abbr> 扩展的
<abbr title="Dynamic Link Library">DLL</abbr> 当前不可用。参见
<a href="install.windows.building.php" class="link">在 Windows 上构建</a>章节。 Detailed information about installation on Linux and
  Windows manually, please read build-guide.html in PECL package CUBRID for
  reference.
 </p>
</div>



  <div class="section" id="ref.pdo-cubrid.features">
   <h2 class="title">PDO_CUBRID Features</h2>

   <div class="section">
    <h2 class="title">Scrollable cursors</h2>
    <p class="simpara">
     PDO_CUBRID supports scrollable cursors. The default cursor type is
     forward only, and you can use parameter driver_options in
     <span class="methodname"><a href="pdo.prepare.php" class="methodname">PDO::prepare()</a></span> to change cursor type.
    </p>
   </div>

   <div class="section">
    <h2 class="title">Timeout</h2>
    <p class="simpara">
     PDO_CUBRID supports sql statement execution timeout setting;
     You can use <span class="methodname"><a href="pdo.setattribute.php" class="methodname">PDO::setAttribute()</a></span> to set timeout value.
    </p>
   </div>

   <div class="section">
    <h2 class="title">Autocommit_mode and Transaction</h2>

    <p class="simpara">
     PDO_CUBRID supports both autocommit_mode and transaction, and
     autocommit_mode is enabled by default. You can use
     <span class="methodname"><a href="pdo.setattribute.php" class="methodname">PDO::setAttribute()</a></span> to change its state.
    </p>

    <p class="simpara">
     If you use <span class="methodname"><a href="pdo.begintransaction.php" class="methodname">PDO::beginTransaction()</a></span> to begin a
     transaction, it will disable autocommit_mode automatically and
     restore it after <span class="methodname"><a href="pdo.commit.php" class="methodname">PDO::commit()</a></span> or
     <span class="methodname"><a href="pdo.rollback.php" class="methodname">PDO::rollBack()</a></span>.
    </p>

    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <span class="simpara">
      Prior do disabling autocommit_mode
      any pending work is automatically committed.
     </span>
    </p></blockquote>
   </div>

   <div class="section">
    <h2 class="title">Multiple SQL Statements</h2>

    <p class="simpara">
     PDO_CUBRID supports Multiple SQL statements.
     Multiple SQL statements are separated by semicolons (<code class="literal">;</code>).
    </p>
   </div>

   <div class="section">
    <h2 class="title">Schema Information</h2>

    <p class="simpara">
     PDO_CUBRID implements <span class="methodname"><a href="pdo.cubrid-schema.php" class="methodname">PDO::cubrid_schema()</a></span>
     to get schema information.
    </p>
   </div>

   <div class="section">
    <h2 class="title">LOBs</h2>

    <p class="simpara">
     PDO_CUBRID supports BLOB/CLOB data type. The LOB in PDO is
     represented as a stream, so you can insert LOBs by binding a stream,
     and get LOBs by reading a stream returned by CUBRID PDO.
     For example:
    </p>

    <div class="example" id="example-1">
     <p><strong>示例 #1 Insert LOBs in CUBRID PDO</strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$fp </span><span style="color: #007700">= </span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #DD0000">'lob_test.png'</span><span style="color: #007700">, </span><span style="color: #DD0000">'rb'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$sql_stmt </span><span style="color: #007700">= </span><span style="color: #DD0000">"INSERT INTO lob_test(name, content) VALUES('lob_test.png', ?)"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">$dbh</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql_stmt</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bindParam</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$fp</span><span style="color: #007700">, </span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">PARAM_LOB</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

    </div>

    <div class="example" id="example-2">
     <p><strong>示例 #2 Fetch LOBs in CUBRID PDO</strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$sql_stmt </span><span style="color: #007700">= </span><span style="color: #DD0000">"SELECT content FROM lob_test WHERE name='lob_test.png'"</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">$dbh</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql_stmt</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">$result </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fetch</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_NUM</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Content-Type: image/png"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">fpassthru</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">]);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

    </div>
   </div>

   <div class="section">
    <h2 class="title">Column meta</h2>

    <p class="para">
     The <span class="methodname"><a href="pdostatement.getcolumnmeta.php" class="methodname">PDOStatement::getColumnMeta()</a></span> in CUBRID PDO
     will return an associative array containing the following values:
     <ul class="simplelist">
      <li>type</li>
      <li>name</li>
      <li>table</li>
      <li>def</li>
      <li>precision</li>
      <li>scale</li>
      <li>not_null</li>
      <li>auto_increment</li>
      <li>unique_key</li>
      <li>multiple_key</li>
      <li>primary_key</li>
      <li>foreign_key</li>
      <li>reverse_index</li>
      <li>reverse_unique</li>
     </ul>
    </p>
   </div>

   <div class="section">
    <h2 class="title">Collection Data Type</h2>

    <p class="simpara">
     PDO_CUBRID supports SET/MULTISET/SEQUENCE data type.
     If you don&#039;t specify data type, the default data type is char.
     For example:
    </p>

    <div class="example" id="example-3">
     <p><strong>示例 #3 Insert set in CUBRID PDO with default data type.</strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$conn_str </span><span style="color: #007700">=</span><span style="color: #DD0000">"cubrid:dbname=demodb;host=localhost;port=33000"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$cubrid_pdo </span><span style="color: #007700">= new </span><span style="color: #0000BB">PDO</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn_str</span><span style="color: #007700">, </span><span style="color: #DD0000">'dba'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exec</span><span style="color: #007700">(</span><span style="color: #DD0000">"DROP TABLE if exists test_tbl"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exec</span><span style="color: #007700">(</span><span style="color: #DD0000">"CREATE TABLE test_tbl (col_1 SET(VARCHAR))"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$sql_stmt_insert </span><span style="color: #007700">= </span><span style="color: #DD0000">"INSERT INTO test_tbl VALUES (?);"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql_stmt_insert</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$data </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"abc"</span><span style="color: #007700">,</span><span style="color: #DD0000">"def"</span><span style="color: #007700">,</span><span style="color: #DD0000">"ghi"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bindParam</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">, </span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">PARAM_NULL</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">var_Dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

    </div>

    <div class="example" id="example-4">
     <p><strong>示例 #4 Specify data type when insert set in CUBRID PDO</strong></p>
     <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$conn_str </span><span style="color: #007700">=</span><span style="color: #DD0000">"cubrid:dbname=demodb;host=localhost;port=33000"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$cubrid_pdo </span><span style="color: #007700">= new </span><span style="color: #0000BB">PDO</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn_str</span><span style="color: #007700">, </span><span style="color: #DD0000">'dba'</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exec</span><span style="color: #007700">(</span><span style="color: #DD0000">"DROP TABLE if exists test_tbl"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">exec</span><span style="color: #007700">(</span><span style="color: #DD0000">"CREATE TABLE test_tbl (col_1 SET(int))"</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$sql_stmt_insert </span><span style="color: #007700">= </span><span style="color: #DD0000">"INSERT INTO test_tbl VALUES (?);"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$stmt </span><span style="color: #007700">= </span><span style="color: #0000BB">$cubrid_pdo</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql_stmt_insert</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$data </span><span style="color: #007700">= array(</span><span style="color: #0000BB">1</span><span style="color: #007700">,</span><span style="color: #0000BB">2</span><span style="color: #007700">,</span><span style="color: #0000BB">3</span><span style="color: #007700">,</span><span style="color: #0000BB">4</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bindParam</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #DD0000">"int"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">execute</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">var_Dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
     </div>

    </div>

    <p class="para">
     CUBRID Bind Data Types for the fifth parameter of
     <span class="methodname"><a href="pdostatement.bindparam.php" class="methodname">PDOStatement::bindParam()</a></span>:
     <ul class="simplelist">
      <li>CHAR</li>
      <li>STRING</li>
      <li>NCHAR</li>
      <li>VARNCHAR</li>
      <li>BIT</li>
      <li>VARBIT</li>
      <li>NUMERIC</li>
      <li>NUMBER</li>
      <li>INT</li>
      <li>SHORT</li>
      <li>BIGINT</li>
      <li>MONETARY</li>
      <li>FLOAT</li>
      <li>DOUBLE</li>
      <li>DATE</li>
      <li>TIME</li>
      <li>DATETIME</li>
      <li>TIMESTAMP</li>
     </ul>
    </p>
   </div>
  </div>

   
   

<div class="section" id="pdo-cubrid.constants">
 <h2 class="title">预定义常量</h2>
 <p class="simpara">下列常量由此驱动定义，且仅在扩展编译入 PHP
或在运行时动态载入时可用。另外，使用此驱动时，仅会使用这些驱动特定的常量。使用其他驱动的驱动特定的常量可能会导致不可预见的情况。如果代码可运行于多个驱动，<span class="function"><a href="pdo.getattribute.php" class="function">PDO::getAttribute()</a></span>
可被用于获取
<strong><code>PDO_ATTR_DRIVER_NAME</code></strong>
属性以检查驱动。</p>
  <p class="para">
   The following constants can be used when setting the database attribute.
   They can be passed to <span class="function"><a href="pdo.getattribute.php" class="function">PDO::getAttribute()</a></span> or
   <span class="function"><a href="pdo.setattribute.php" class="function">PDO::setAttribute()</a></span>.
  <table class="doctable table">
   <caption><strong>PDO::CUBRID attribute flags</strong></caption>
    
     <thead>
      <tr>
       <th>Constant</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr id="pdo.constants.cubrid-attr-isolation-level">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-attr-isolation-level">PDO::CUBRID_ATTR_ISOLATION_LEVEL</a></code></strong></td>
       <td>Transaction isolation level for the database connection.</td>
      </tr>

      <tr id="pdo.constants.cubrid-attr-lock-timeout">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-attr-lock-timeout">PDO::CUBRID_ATTR_LOCK_TIMEOUT</a></code></strong></td>
       <td>Transaction timeout in seconds.</td>
      </tr>

      <tr id="pdo.constants.cubrid-attr-max-string-length">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-attr-max-string-length">PDO::CUBRID_ATTR_MAX_STRING_LENGTH</a></code></strong></td>
       <td>Read only. The maximum string length for bit, varbit, char,
        varchar, nchar, nchar varying data types when using CUBRID PDO
        API.</td>
      </tr>

     </tbody>
    
   </table>

  </p>

  <p class="para">
   The following constants can be used when setting the transaction isolation
   level. They can be passed to <span class="function"><a href="pdo.getattribute.php" class="function">PDO::getAttribute()</a></span> or
   returned by <span class="function"><a href="pdo.setattribute.php" class="function">PDO::setAttribute()</a></span>.
  <table class="doctable table">
   <caption><strong>PDO::CUBRID isolation level flags</strong></caption>
    
     <thead>
      <tr>
       <th>Constant</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr id="pdo.constants.tran-commit-class-uncommit-instance">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-commit-class-uncommit-instance">PDO::TRAN_COMMIT_CLASS_UNCOMMIT_INSTANCE</a></code></strong></td>
       <td>The lowest isolation level (1). A dirty, non-repeatable or
        phantom read may occur for the tuple and a non-repeatable read may
        occur for the table as well.</td>
      </tr>

      <tr id="pdo.constants.tran-commit-class-commit-instance">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-commit-class-commit-instance">PDO::TRAN_COMMIT_CLASS_COMMIT_INSTANCE</a></code></strong></td>
       <td>A relatively low isolation level (2). A dirty read does not
        occur, but non-repeatable or phantom read may occur.</td>
      </tr>

      <tr id="pdo.constants.tran-rep-class-uncommit-instance">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-rep-class-uncommit-instance">PDO::TRAN_REP_CLASS_UNCOMMIT_INSTANCE</a></code></strong></td>
       <td>The default isolation of CUBRID (3). A dirty, non-repeatable or
        phantom read may occur for the tuple, but repeatable read is ensured
        for the table.</td>
      </tr>

      <tr id="pdo.constants.tran-rep-class-commit-instance">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-rep-class-commit-instance">PDO::TRAN_REP_CLASS_COMMIT_INSTANCE</a></code></strong></td>
       <td>A relatively low isolation level (4). A dirty read does not
        occur, but non-repeatable or phantom read may.</td>
      </tr>

      <tr id="pdo.constants.tran-rep-class-rep-instance">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-rep-class-rep-instance">PDO::TRAN_REP_CLASS_REP_INSTANCE</a></code></strong></td>
       <td>A relatively high isolation level (5). A dirty or non-repeatable
       read does not occur, but a phantom read may.</td>
      </tr>

      <tr id="pdo.constants.tran-serializable">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.tran-serializable">PDO::TRAN_SERIALIZABLE</a></code></strong></td>
       <td>The highest isolation level (6). Problems concerning concurrency
       (e.g. dirty read, non-repeatable read, phantom read, etc.) do not
       occur.</td>
      </tr>

     </tbody>
    
   </table>

  </p>

  <p class="para">
   The following constants can be used when getting schema information. They
   can be passed to <span class="function"><a href="pdo.cubrid-schema.php" class="function">PDO::cubrid_schema()</a></span>.
  <table class="doctable table">
   <caption><strong>PDO::CUBRID schema flags</strong></caption>
    
     <thead>
      <tr>
       <th>Constant</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr id="pdo.constants.cubrid-sch-table">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-table">PDO::CUBRID_SCH_TABLE</a></code></strong></td>
       <td>Get name and type of table in CUBRID.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-view">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-view">PDO::CUBRID_SCH_VIEW</a></code></strong></td>
       <td>Get name and type of view in CUBRID.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-query-spec">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-query-spec">PDO::CUBRID_SCH_QUERY_SPEC</a></code></strong></td>
       <td>Get the query definition of view.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-attribute">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-attribute">PDO::CUBRID_SCH_ATTRIBUTE</a></code></strong></td>
       <td>Get the attributes of table column.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-table-attribute">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-table-attribute">PDO::CUBRID_SCH_TABLE_ATTRIBUTE</a></code></strong></td>
       <td>Get the attributes of table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-method">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-method">PDO::CUBRID_SCH_METHOD</a></code></strong></td>
       <td>Get the instance method. The instance method is a method called
       by a class instance. It is used more often than the class method
       because most operations are executed in the instance.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-table-method">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-table-method">PDO::CUBRID_SCH_TABLE_METHOD</a></code></strong></td>
       <td>Get the class method. The class method is a method called by a
        class object. It is usually used to create a new class instance or to
        initialize it. It is also used to access or update class
        attributes.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-method-file">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-method-file">PDO::CUBRID_SCH_METHOD_FILE</a></code></strong></td>
       <td>Get the information of the file where the method of the table is
        defined.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-super-table">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-super-table">PDO::CUBRID_SCH_SUPER_TABLE</a></code></strong></td>
       <td>Get the name and type of table which table inherites attributes
        from.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-sub-table">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-sub-table">PDO::CUBRID_SCH_SUB_TABLE</a></code></strong></td>
       <td>Get the name and type of table which inherites attributes from
        this table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-constraint">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-constraint">PDO::CUBRID_SCH_CONSTRAINT</a></code></strong></td>
       <td>Get the table constraints.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-trigger">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-trigger">PDO::CUBRID_SCH_TRIGGER</a></code></strong></td>
       <td>Get the table triggers.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-table-privilege">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-table-privilege">PDO::CUBRID_SCH_TABLE_PRIVILEGE</a></code></strong></td>
       <td>Get the privilege information of table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-col-privilege">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-col-privilege">PDO::CUBRID_SCH_COL_PRIVILEGE</a></code></strong></td>
       <td>Get the privilege information of column.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-direct-super-table">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-direct-super-table">PDO::CUBRID_SCH_DIRECT_SUPER_TABLE</a></code></strong></td>
       <td>Get the direct super table of table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-primary-key">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-primary-key">PDO::CUBRID_SCH_PRIMARY_KEY</a></code></strong></td>
       <td>Get the table primary key.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-imported-keys">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-imported-keys">PDO::CUBRID_SCH_IMPORTED_KEYS</a></code></strong></td>
       <td>Get imported keys of table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-exported-keys">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-exported-keys">PDO::CUBRID_SCH_EXPORTED_KEYS</a></code></strong></td>
       <td>Get exported keys of table.</td>
      </tr>

      <tr id="pdo.constants.cubrid-sch-cross-reference">
       <td><strong><code><a href="ref.pdo-cubrid.php#pdo.constants.cubrid-sch-cross-reference">PDO::CUBRID_SCH_CROSS_REFERENCE</a></code></strong></td>
       <td>Get reference relationship of tow tables.</td>
      </tr>

     </tbody>
    
   </table>

  </p>
</div>




  </div>

  

  






 <h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-cubrid.connection.php">PDO_CUBRID DSN</a> — Connecting to CUBRID databases</li><li><a href="pdo.cubrid-schema.php">PDO::cubrid_schema</a> — Get the requested schema information</li></ul>
</div>
<?php manual_footer($setup); ?>