function PdoTrait::clientQueryString

Returns the query string used to prepare the statement.

Return value

string The query string.

1 call to PdoTrait::clientQueryString()
StatementWrapperIterator::getQueryString in core/lib/Drupal/Core/Database/StatementWrapperIterator.php
Gets the query string of this statement.

File

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

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.