public function MergeQuery::__toString

public MergeQuery::__toString()

Implements PHP magic __toString method to convert the query to a string.

In the degenerate case, there is no string-able query as this operation is potentially two queries.

Return value

string The prepared query statement.

Overrides Query::__toString

File

includes/database/query.inc, line 1605
Non-specific Database query code. Used by all engines.

Class

MergeQuery
General class for an abstracted MERGE query operation.

Code

public function __toString() {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!query.inc/function/MergeQuery::__toString/7.x