namespace Drupal\Core\Database\Query

Same name in other branches
  1. 11.x Drupal\Core\Database\Query
  2. 9 Drupal\Core\Database\Query
  3. 8.9.x Drupal\Core\Database\Query
Object name File name Summary
AlterableInterface core/lib/Drupal/Core/Database/Query/AlterableInterface.php Interface for a query that can be manipulated via an alter hook.
Condition core/lib/Drupal/Core/Database/Query/Condition.php Generic class for a series of conditions in a query.
ConditionInterface core/lib/Drupal/Core/Database/Query/ConditionInterface.php Interface for a conditional clause in a query.
Delete core/lib/Drupal/Core/Database/Query/Delete.php General class for an abstracted DELETE operation.
ExtendableInterface core/lib/Drupal/Core/Database/Query/ExtendableInterface.php Interface for extendable query objects.
FieldsOverlapException core/lib/Drupal/Core/Database/Query/FieldsOverlapException.php Exception thrown if an insert query specifies a field twice.
Insert core/lib/Drupal/Core/Database/Query/Insert.php General class for an abstracted INSERT query.
InsertTrait core/lib/Drupal/Core/Database/Query/InsertTrait.php Provides common functionality for INSERT and UPSERT queries.
InvalidMergeQueryException core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php Exception thrown for merge queries that do not make semantic sense.
Merge core/lib/Drupal/Core/Database/Query/Merge.php General class for an abstracted MERGE query operation.
NoFieldsException core/lib/Drupal/Core/Database/Query/NoFieldsException.php Exception thrown if an insert query doesn't specify insert or default fields.
NoUniqueFieldException core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php Exception thrown if an upsert query doesn't specify a unique field.
PagerSelectExtender core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Query extender for pager queries.
PlaceholderInterface core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php Interface for a query that accepts placeholders.
Query core/lib/Drupal/Core/Database/Query/Query.php Base class for query builders.
QueryConditionTrait core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php Provides an implementation of ConditionInterface.
Select core/lib/Drupal/Core/Database/Query/Select.php Query builder for SELECT statements.
SelectExtender core/lib/Drupal/Core/Database/Query/SelectExtender.php The base extender class for Select queries.
SelectInterface core/lib/Drupal/Core/Database/Query/SelectInterface.php Interface definition for a Select Query object.
TableSortExtender core/lib/Drupal/Core/Database/Query/TableSortExtender.php Query extender class for tablesort queries.
Truncate core/lib/Drupal/Core/Database/Query/Truncate.php General class for an abstracted TRUNCATE operation.
Update core/lib/Drupal/Core/Database/Query/Update.php General class for an abstracted UPDATE operation.
Upsert core/lib/Drupal/Core/Database/Query/Upsert.php General class for an abstracted "Upsert" (UPDATE or INSERT) query operation.

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