You are here

public function Select::compile in Drupal driver for SQL Server and SQL Azure 8

Same name and namespace in other branches
  1. 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Select.php \Drupal\Driver\Database\sqlsrv\Select::compile()
  2. 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Select.php \Drupal\Driver\Database\sqlsrv\Select::compile()

Override for SelectQuery::compile().

Detect when this query is prepared for use in a sub-query.

Overrides Select::compile

1 call to Select::compile()
Select::__toString in drivers/lib/Drupal/Driver/Database/sqlsrv/Select.php
Implements PHP magic __toString method to convert the query to a string.

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Select.php, line 194
Definition of Drupal\Driver\Database\sqlsrv\Select

Class

Select

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function compile(DatabaseConnection $connection, DatabasePlaceholderInterface $queryPlaceholder) {
  $this->inSubQuery = $queryPlaceholder != $this;
  return parent::compile($connection, $queryPlaceholder);
}