InvalidQueryException.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Database/InvalidQueryException.php
  2. 8.9.x core/lib/Drupal/Core/Database/InvalidQueryException.php
  3. 11.x core/lib/Drupal/Core/Database/InvalidQueryException.php

Namespace

Drupal\Core\Database

File

core/lib/Drupal/Core/Database/InvalidQueryException.php

View source
<?php

namespace Drupal\Core\Database;


/**
 * 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.
 */
class InvalidQueryException extends \InvalidArgumentException implements DatabaseException {

}

Classes

Title Deprecated Summary
InvalidQueryException Exception thrown if a query would be invalid.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.