class FieldsOverlapException

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

Exception thrown if an insert query specifies a field twice.

It is not allowed to specify a field as default and insert field, this exception is thrown if that is the case.

Hierarchy

Expanded class hierarchy of FieldsOverlapException

File

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

Namespace

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

}

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