FieldsOverlapException.php

Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php
  2. 10 core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php
  3. 11.x core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php

Namespace

Drupal\Core\Database\Query

File

core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php

View source
<?php

namespace Drupal\Core\Database\Query;

use Drupal\Core\Database\DatabaseException;

/**
 * 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.
 */
class FieldsOverlapException extends \InvalidArgumentException implements DatabaseException {

}

Classes

Title Deprecated Summary
FieldsOverlapException Exception thrown if an insert query specifies a field twice.

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