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()
DeleteQuery::__toString in drupal/includes/database/query.inc
Implements PHP magic __toString method to convert the query to a string.
InsertQuery::__toString in drupal/includes/database/query.inc
Implements PHP magic __toString method to convert the query to a string.
MergeQuery::__toString in drupal/includes/database/query.inc
Implements PHP magic __toString method to convert the query to a string.
SelectQuery::__toString in drupal/includes/database/select.inc
Implements PHP magic __toString method to convert the query to a string.
TruncateQuery::__toString in drupal/includes/database/query.inc
Implements PHP magic __toString method to convert the query to a string.

... See full list

File

drupal/includes/database/query.inc, line 377
Non-specific Database query code. Used by all engines.

Class

Query
Base class for query builders.

Code

public abstract function __toString();