abstract public function Query::__toString

Implements PHP magic __toString method to convert the query to a string.

The toString operation is how we compile a query object to a prepared statement.

Return value

A prepared statement query string for this object.

6 methods override Query::__toString()

File

drupal/core/lib/Drupal/Core/Database/Query/Query.php, line 121
Definition of Drupal\Core\Database\Query\Query

Class

Query
Base class for query builders.

Namespace

Drupal\Core\Database\Query

Code

public abstract function __toString();