class InvalidMergeQueryException
Same name in other branches
- 7.x includes/database/database.inc \InvalidMergeQueryException
- 9 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
- 8.9.x core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
- 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
- class \Drupal\Core\Database\Query\InvalidMergeQueryException extends \Drupal\Core\Database\Query\InvalidArgumentException implements \Drupal\Core\Database\DatabaseException
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\QueryView 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.