function SelectInterface::__toString

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::__toString()
  2. 10 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::__toString()
  3. 11.x core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::__toString()

Returns a string representation of how the query will be executed in SQL.

Return value

string The Select Query object expressed as a string.

1 method overrides SelectInterface::__toString()
SelectExtender::__toString in core/lib/Drupal/Core/Database/Query/SelectExtender.php
Returns a string representation of how the query will be executed in SQL.

File

core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 674

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function __toString();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.