1 select.inc public SelectQueryExtender::__toString()

String magic method.

Return value

string: The prepared SQL statement as a string.

Overrides SelectQueryInterface::__toString

File

core/includes/database/select.inc, line 1006
Contains classes and interfaces for Select queries.

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function __toString() {
  return (string) $this->query;
}