You are here

public function DatabaseConnection_sqlsrv::prepare in Drupal driver for SQL Server and SQL Azure 7

Override of PDO::prepare(): prepare a prefetching database statement.

@status tested

1 call to DatabaseConnection_sqlsrv::prepare()
DatabaseConnection_sqlsrv::prepareQuery in sqlsrv/database.inc
Temporary override of DatabaseConnection::prepareQuery().

File

sqlsrv/database.inc, line 113
Database interface code for Microsoft SQL Server.

Class

DatabaseConnection_sqlsrv

Code

public function prepare($query, $options = array()) {
  return new DatabaseStatement_sqlsrv($this, $query, $options);
}