Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

class InvalidMergeQueryException

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  2. 10 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  3. 9 core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php \Drupal\Core\Database\Query\InvalidMergeQueryException
  4. 8.9.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

Related topics

Database abstraction layer
Allow the use of different database servers using the same code base.

File

includes/database/database.inc, line 1925

View source
class InvalidMergeQueryException  extends Exception {
}

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