Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function 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 1636

Class

MergeQuery
General class for an abstracted MERGE query operation.

Code

public function __toString() {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.