1 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

string: A prepared statement query string for this object.

File

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

Class

Query
Base class for query builders.

Code

abstract public function __toString();