Commit 8144cceb authored by webchick's avatar webchick

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
......@@ -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();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment