public SelectInterface::__toString()
Returns a string representation of how the query will be executed in SQL.
string The Select Query object expressed as a string.
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!SelectInterface.php/function/SelectInterface::__toString/8.1.x