You are here

public function MergeQuery::__toString in Drupal 7

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() {
}