public function SelectQuery_sqlsrv::compile in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/select.inc \SelectQuery_sqlsrv::compile()
- 7 sqlsrv/select.inc \SelectQuery_sqlsrv::compile()
Override for SelectQuery::compile().
Detect when this query is prepared for use in a sub-query.
Overrides SelectQuery::compile
1 call to SelectQuery_sqlsrv::compile()
- SelectQuery_sqlsrv::__toString in sqlsrv/
select.inc - Implements PHP magic __toString method to convert the query to a string.
File
- sqlsrv/
select.inc, line 191
Class
Code
public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
$this->inSubQuery = $queryPlaceholder != $this;
return parent::compile($connection, $queryPlaceholder);
}