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
string A prepared statement query string for this object.
File
- core/lib/Drupal/Core/Database/Query/Query.php, line 119
Class
- Query
- Base class for query builders.
Namespace
Drupal\Core\Database\QueryCode
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/core!lib!Drupal!Core!Database!Query!Query.php/function/Query::__toString/8.1.x