class InvalidQueryException in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/InvalidQueryException.php \Drupal\Core\Database\InvalidQueryException
- 9 core/lib/Drupal/Core/Database/InvalidQueryException.php \Drupal\Core\Database\InvalidQueryException
Exception thrown if a query would be invalid.
This exception is thrown e.g. when trying to have an IN condition with an empty array.
Hierarchy
- class \Drupal\Core\Database\InvalidQueryException extends \Drupal\Core\Database\InvalidArgumentException implements \Drupal\Core\Database\DatabaseException
Expanded class hierarchy of InvalidQueryException
2 files declare their use of InvalidQueryException
- Condition.php in core/
lib/ Drupal/ Core/ Database/ Query/ Condition.php - SelectTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php
File
- core/
lib/ Drupal/ Core/ Database/ InvalidQueryException.php, line 11
Namespace
Drupal\Core\DatabaseView source
class InvalidQueryException extends \InvalidArgumentException implements DatabaseException {
}