class FieldsOverlapException

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php \Drupal\Core\Database\Query\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

Related topics

File

includes/database/database.inc, line 1938

View source
class FieldsOverlapException extends Exception {

}

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