function PdoTrait::clientQueryString

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/Statement/PdoTrait.php \Drupal\Core\Database\Statement\PdoTrait::clientQueryString()

Returns the query string used to prepare the statement.

Return value

string The query string.

File

core/lib/Drupal/Core/Database/Statement/PdoTrait.php, line 241

Class

PdoTrait
A trait for calling \PDOStatement methods.

Namespace

Drupal\Core\Database\Statement

Code

protected function clientQueryString() : string {
  return $this->getClientStatement()->queryString;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.