uTools-Manuals/docs/php/sqlite_key.html
2019-04-08 23:22:26 +08:00

56 lines
2.5 KiB
HTML

<!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>Returns the current row index</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.sqlite-key" class="refentry">
<div class="refnamediv">
<h1 class="refname">sqlite_key</h1>
<h1 class="refname">SQLiteResult::key</h1>
<p class="verinfo">(PHP 5 &gt;= 5.1.0 &lt; 5.4.0)</p><p class="refpurpose"><span class="refname">sqlite_key</span> -- <span class="refname">SQLiteResult::key</span> &mdash; <span class="dc-title">Returns the current row index</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.sqlite-key-description">
<h3 class="title">说明</h3>
<p class="para">面向对象风格 (method):</p>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>SQLiteResult::key</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">int</span></div>
<p class="para rdfs-comment">
<span class="methodname"><strong>SQLiteResult::key()</strong></span> returns the current row index of
the buffered result set <code class="parameter">result</code>.
</p>
<p class="para">
Unlike all other SQLite functions, this function does not have a procedural
version, and can only be called as a method on a
<strong class="classname">SQLiteResult</strong> object.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.sqlite-key-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns the current row index of the buffered result set
<code class="parameter">result</code>.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.sqlite-key-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="sqlite_next.html" class="function" rel="rdfs-seeAlso">sqlite_next()</a> - Seek to the next row number</span></li>
<li class="member"><span class="function"><a href="sqlite_current.html" class="function" rel="rdfs-seeAlso">sqlite_current()</a> - Fetches the current row from a result set as an array</span></li>
<li class="member"><span class="function"><a href="sqlite_rewind.html" class="function" rel="rdfs-seeAlso">sqlite_rewind()</a> - Seek to the first row number</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>