NoUniqueFieldException.php

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

Namespace

Drupal\Core\Database\Query

File

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

View source
<?php

namespace Drupal\Core\Database\Query;

use Drupal\Core\Database\DatabaseException;

/**
 * Exception thrown if an upsert query doesn't specify a unique field.
 */
class NoUniqueFieldException extends \InvalidArgumentException implements DatabaseException {

}

Classes

Title Deprecated Summary
NoUniqueFieldException Exception thrown if an upsert query doesn't specify a unique field.

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