Query::__toString
abstract public function Query::__toString
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 377
- Non-specific Database query code. Used by all engines.
Class
- Query
- Base class for query builders.
Code
abstract public function __toString();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!query.inc/function/Query::__toString/7.x