You are here

public function SelectInterface::__toString in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/SelectInterface.php \Drupal\Core\Database\Query\SelectInterface::__toString()
  2. 9 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 639

Class

SelectInterface
Interface definition for a Select Query object.

Namespace

Drupal\Core\Database\Query

Code

public function __toString();