PDOStatement::setAttribute — Set a statement attribute (PHP 5 >= 5.1.0, PECL pdo >= 0.2.0)
bool PDOStatement::setAttribute ( int $attribute , mixed $value )
Set an attribute for the statement. Currently, there are no generic properties that can be set, only driver-specific properties:
PDO::ATTR_CURSOR_NAME (Firebird and ODBC feature): Sets the cursor name for UPDATE ... WHERE CURRENT OF .
Returns TRUE on success, or FALSE on failure.