public function DatabaseConnection_sqlsrv::PDOPrepare in Drupal driver for SQL Server and SQL Azure 7
Same name and namespace in other branches
- 7.3 sqlsrv/database.inc \DatabaseConnection_sqlsrv::PDOPrepare()
- 7.2 sqlsrv/database.inc \DatabaseConnection_sqlsrv::PDOPrepare()
Internal function: prepare a query by calling PDO directly.
This function has to be public because it is called by other parts of the database layer, but do not call it directly, as you risk locking down the PHP process.
File
- sqlsrv/
database.inc, line 138 - Database interface code for Microsoft SQL Server.
Class
Code
public function PDOPrepare($query, array $options = array()) {
if (!$this->bypassQueryPreprocess) {
$query = $this
->preprocessQuery($query);
}
return parent::prepare($query, $options);
}