Added documentation for PDO::ATTR_EMULATE_PREPARES on setAttribute page.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312722 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anthony Ferrara 2011-06-30 19:23:21 +00:00
parent 8c9aa4f043
commit 1b7a1f1918

View file

@ -77,6 +77,15 @@
(available in OCI, Firebird and MySQL):
Whether to autocommit every single statement.
</para></listitem>
<listitem><para><literal>PDO::ATTR_EMULATE_PREPARES</literal>
Enables or disables emulation of prepared statements. Some drivers do
not support native prepared statements or have limited support for them.
Use this setting to force PDO to either always emulate prepared
statements (if &true;), or to try to use native prepared statements (if
&false;). It will always fall back to emulating the prepared statement
if the driver cannot successfully prepare the current query.
Requires <type>bool</type>.
</para></listitem>
<listitem><para><literal>PDO::MYSQL_ATTR_USE_BUFFERED_QUERY</literal>
(available in MySQL):
Use buffered queries.