function Merge::__toString
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::__toString()
- 8.9.x core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::__toString()
- 10 core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::__toString()
Overrides Query::__toString
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ Merge.php, line 338
Class
- Merge
- General class for an abstracted MERGE query operation.
Namespace
Drupal\Core\Database\QueryCode
public function __toString() {
// In the degenerate case, there is no string-able query as this operation
// is potentially two queries.
throw new \BadMethodCallException('The merge query can not be converted to a string');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.