class NoUniqueFieldException
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php \Drupal\Core\Database\Query\NoUniqueFieldException
- 10 core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php \Drupal\Core\Database\Query\NoUniqueFieldException
- 11.x 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
- class \Drupal\Core\Database\Query\NoUniqueFieldException extends \Drupal\Core\Database\Query\InvalidArgumentException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of NoUniqueFieldException
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ NoUniqueFieldException.php, line 10
Namespace
Drupal\Core\Database\QueryView source
class NoUniqueFieldException extends \InvalidArgumentException implements DatabaseException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.