Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Merge.php

function 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\Query

Code

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');
}
RSS feed
Powered by Drupal