mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Note that placeholders may be reused in pg_query_params().
Fixes doc bug #64858 (Reusability of query params should be clarified). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330247 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a445db39cd
commit
3484bcec16
1 changed files with 6 additions and 4 deletions
|
@ -27,10 +27,12 @@
|
|||
higher connections; it will fail when using earlier versions.
|
||||
</para>
|
||||
<para>
|
||||
If parameters are used, they are referred to in the <parameter>query</parameter>
|
||||
string as $1, $2, etc. <parameter>params</parameter> specifies the actual values of the
|
||||
parameters. A &null; value in this array means the corresponding parameter is SQL
|
||||
<literal>NULL</literal>.
|
||||
If parameters are used, they are referred to in the
|
||||
<parameter>query</parameter> string as $1, $2, etc. The same parameter may
|
||||
appear more than once in the <parameter>query</parameter>; the same value
|
||||
will be used in that case. <parameter>params</parameter> specifies the
|
||||
actual values of the parameters. A &null; value in this array means the
|
||||
corresponding parameter is SQL <literal>NULL</literal>.
|
||||
</para>
|
||||
<para>
|
||||
The primary advantage of <function>pg_query_params</function> over <function>pg_query</function>
|
||||
|
|
Loading…
Reference in a new issue