You are here

public function StatementWrapper::getQueryString in Drupal 9

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Database/StatementWrapper.php \Drupal\Core\Database\StatementWrapper::getQueryString()

Gets the query string of this statement.

Return value

The query string, in its form with placeholders.

Overrides StatementInterface::getQueryString

File

core/lib/Drupal/Core/Database/StatementWrapper.php, line 158

Class

StatementWrapper
Implementation of StatementInterface encapsulating PDOStatement.

Namespace

Drupal\Core\Database

Code

public function getQueryString() {
  return $this->clientStatement->queryString;
}