mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
31 lines
1.6 KiB
HTML
31 lines
1.6 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>获得查询结果的状态</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.pg-result-status" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">pg_result_status</h1>
|
||
<p class="verinfo">(PHP 4 >= 4.2.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">pg_result_status</span> — <span class="dc-title">
|
||
获得查询结果的状态
|
||
</span></p>
|
||
|
||
</div>
|
||
<div class="refsect1 unknown-unknown-unknown-seealsr" id="refsect1-function.pg-result-status-unknown-unknown-unknown-seealsr">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>pg_result_status</strong></span>
|
||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result</code></span>
|
||
) : <span class="type">int</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
<span class="function"><strong>pg_result_status()</strong></span> 返回该查询结果资源的状态。可能的返回值有 PGSQL_EMPTY_QUERY,PGSQL_COMMAND_OK,PGSQL_TUPLES_OK,PGSQL_COPY_TO,PGSQL_COPY_FROM,PGSQL_BAD_RESPONSE,PGSQL_NONFATAL_ERROR 和 PGSQL_FATAL_ERROR。
|
||
</p>
|
||
<p class="para">
|
||
参见 <span class="function"><a href="pg_connection_status.html" class="function">pg_connection_status()</a></span>。
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |