class InvalidQueryException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 DatabaseException
Expanded class hierarchy of InvalidQueryException
2 files declare their use of InvalidQueryException
- Condition.php in core/
lib/ Drupal/ Core/ Database/ Query/ Condition.php - Contains \Drupal\Core\Database\Query\Condition.
- SelectTest.php in core/
modules/ system/ src/ Tests/ Database/ SelectTest.php - Contains \Drupal\system\Tests\Database\SelectTest.
File
- core/
lib/ Drupal/ Core/ Database/ InvalidQueryException.php, line 16 - Contains \Drupal\Core\Database\InvalidQueryException.
Namespace
Drupal\Core\DatabaseView source
class InvalidQueryException extends \InvalidArgumentException implements DatabaseException {
}