Skip to content
Snippets Groups Projects
Commit 8144cceb authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2344831 by martin107, jhodgdon, tstoeckler, Mile23: Document behavior...

Issue #2344831 by martin107, jhodgdon, tstoeckler, Mile23: Document behavior of Drupal/Core/Database/Query/SelectInterface::__toString()
parent 8bd7a50b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -338,6 +338,9 @@ public function notExists(SelectInterface $select) {
return $this;
}
/**
* {@inheritdoc}
*/
public function __toString() {
return (string) $this->query;
}
......
......@@ -648,4 +648,12 @@ public function __clone();
*/
public function forUpdate($set = TRUE);
/**
* Returns a string representation of how the query will be executed in SQL.
*
* @return string
* The Select Query object expressed as a string.
*/
public function __toString();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment