class NoFieldsException in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Query/NoFieldsException.php \Drupal\Core\Database\Query\NoFieldsException
- 9 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 DatabaseException
Expanded class hierarchy of NoFieldsException
1 file declares its use of NoFieldsException
- InsertDefaultsTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertDefaultsTest.php
3 string references to 'NoFieldsException'
- drupal7.php in core/
modules/ tracker/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ rdf/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
File
- core/
lib/ Drupal/ Core/ Database/ Query/ NoFieldsException.php, line 10
Namespace
Drupal\Core\Database\QueryView source
class NoFieldsException extends \InvalidArgumentException implements DatabaseException {
}