mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document the PDO::MYSQL_ATTR_MULTI_STATEMENTS constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339155 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
19059652f1
commit
cb8d8b9fa6
1 changed files with 20 additions and 0 deletions
|
@ -230,6 +230,26 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="pdo.constants.mysql-attr-multi-statements">
|
||||
<term>
|
||||
<constant>PDO::MYSQL_ATTR_MULTI_STATEMENTS</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Disables multi query execution in both <function>PDO::prepare</function>
|
||||
and <function>PDO::query</function> when set to &false;.
|
||||
</para>
|
||||
<para>
|
||||
Note, this constant can only be used in the <parameter>driver_options</parameter>
|
||||
array when constructing a new database handle.
|
||||
</para>
|
||||
<para>
|
||||
&version.exists.asof; 5.5.21 and PHP 5.6.5.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue