You are here

public function SelectExtender::isPrepared in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::isPrepared()
  2. 9 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::isPrepared()

Indicates if preExecute() has already been called on that object.

Return value

TRUE is this query has already been prepared, FALSE otherwise.

Overrides SelectInterface::isPrepared

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 302

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function isPrepared() {
  return $this->query
    ->isPrepared();
}