You are here

public function SelectQuery_sqlsrv::WithNoLock in Drupal driver for SQL Server and SQL Azure 7.3

Same name and namespace in other branches
  1. 7.2 sqlsrv/select.inc \SelectQuery_sqlsrv::WithNoLock()

Add a hint that is appended to all tables in the query.

Parameters

mixed $hint:

Throws

Exception

File

sqlsrv/select.inc, line 512

Class

SelectQuery_sqlsrv

Code

public function WithNoLock() {
  $this->nolock = TRUE;
}