11 methods override Query::__toString()

Delete::__toString in core/lib/Drupal/Core/Database/Query/Delete.php
Implements PHP magic __toString method to convert the query to a string.
Insert::__toString in core/lib/Drupal/Core/Database/Query/Insert.php
Implements PHP magic __toString method to convert the query to a string.
Merge::__toString in core/lib/Drupal/Core/Database/Query/Merge.php
Select::__toString in core/lib/Drupal/Core/Database/Query/Select.php
StubUpsert::__toString in core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php
Truncate::__toString in core/lib/Drupal/Core/Database/Query/Truncate.php
Implements PHP magic __toString method to convert the query to a string.
Update::__toString in core/lib/Drupal/Core/Database/Query/Update.php
Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString in core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php
Upsert::__toString in core/modules/mysql/src/Driver/Database/mysql/Upsert.php
Upsert::__toString in core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php
Upsert::__toString in core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php

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