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

31 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 &gt;= 4.2.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">pg_result_status</span> &mdash; <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_QUERYPGSQL_COMMAND_OKPGSQL_TUPLES_OKPGSQL_COPY_TOPGSQL_COPY_FROMPGSQL_BAD_RESPONSEPGSQL_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>