1.20.x query.inc abstract public 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.:

File

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

Class

Query
Base class for query builders.

Code

abstract public function __toString();