W3cubDocs

/Drupal 8

public function Merge::__toString

public Merge::__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

core/lib/Drupal/Core/Database/Query/Merge.php, line 349

Class

Merge
General class for an abstracted MERGE query operation.

Namespace

Drupal\Core\Database\Query

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/core!lib!Drupal!Core!Database!Query!Merge.php/function/Merge::__toString/8.1.x