class 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 \InvalidArgumentException implements DatabaseException
File
- core/lib/Drupal/Core/Database/InvalidQueryException.php, line 11
Namespace
Drupal\Core\DatabaseMembers
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!InvalidQueryException.php/class/InvalidQueryException/8.1.x