You are here

class NoUniqueFieldException in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php \Drupal\Core\Database\Query\NoUniqueFieldException
  2. 9 core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php \Drupal\Core\Database\Query\NoUniqueFieldException

Exception thrown if an upsert query doesn't specify a unique field.

Hierarchy

Expanded class hierarchy of NoUniqueFieldException

File

core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php, line 10

Namespace

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

}

Members