svn: /phpdoc/en/trunk/reference/pdo/pdo/ setattribute.xml

From: Date: Thu, 30 Jun 2011 19:23:21 +0000
Subject: svn: /phpdoc/en/trunk/reference/pdo/pdo/ setattribute.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8374@lists.php.net to get a copy of this message
ircmaxell Thu, 30 Jun 2011 19:23:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312722 Log: Added documentation for PDO::ATTR_EMULATE_PREPARES on setAttribute page. Changed paths: U phpdoc/en/trunk/reference/pdo/pdo/setattribute.xml Modified: phpdoc/en/trunk/reference/pdo/pdo/setattribute.xml =================================================================== --- phpdoc/en/trunk/reference/pdo/pdo/setattribute.xml 2011-06-30 19:22:03 UTC (rev 312721) +++ phpdoc/en/trunk/reference/pdo/pdo/setattribute.xml 2011-06-30 19:23:21 UTC (rev 312722) @@ -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.

« previous php.doc.cvs (#8374) next »