class InvalidMergeQueryException

Same name in other branches
  1. 7.x includes/database/database.inc \InvalidMergeQueryException
  2. 9 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  3. 10 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  4. 11.x core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException

Exception thrown for merge queries that do not make semantic sense.

There are many ways that a merge query could be malformed. They should all throw this exception and set an appropriately descriptive message.

Hierarchy

Expanded class hierarchy of InvalidMergeQueryException

1 file declares its use of InvalidMergeQueryException
MergeTest.php in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php

File

core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php, line 13

Namespace

Drupal\Core\Database\Query
View source
class InvalidMergeQueryException extends \InvalidArgumentException implements DatabaseException {

}

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