class NoFieldsException
Same name in other branches
- 7.x includes/database/database.inc \NoFieldsException
- 9 core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
- 8.9.x core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
- 10 core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
Exception thrown if an insert query doesn't specify insert or default fields.
Hierarchy
- class \Drupal\Core\Database\Query\NoFieldsException extends \Drupal\Core\Database\Query\InvalidArgumentException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of NoFieldsException
1 file declares its use of NoFieldsException
- InsertDefaultsTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertDefaultsTest.php
File
-
core/
lib/ Drupal/ Core/ Database/ Query/ NoFieldsException.php, line 10
Namespace
Drupal\Core\Database\QueryView source
class NoFieldsException extends \InvalidArgumentException implements DatabaseException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.