Same name in other branches
  1. 8.9.x Drupal\Core\Database
  2. 9 Drupal\Core\Database
Classsort descending Location Description
ConnectionNotDefinedException core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php Exception thrown if an undefined database connection is requested.
Database core/lib/Drupal/Core/Database/Database.php Primary front-controller for the database system.
DatabaseAccessDeniedException core/lib/Drupal/Core/Database/DatabaseAccessDeniedException.php Exception thrown if access credentials fail.
DatabaseConnectionRefusedException core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php Exception thrown if server refuses connection.
DatabaseException core/lib/Drupal/Core/Database/DatabaseException.php Interface for a database exception.
DatabaseExceptionWrapper core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php This wrapper class serves only to provide additional debug information.
DatabaseNotFoundException core/lib/Drupal/Core/Database/DatabaseNotFoundException.php Exception thrown if specified database is not found.
DriverNotSpecifiedException core/lib/Drupal/Core/Database/DriverNotSpecifiedException.php Exception thrown if no driver is specified for a database connection.
ExceptionHandler core/lib/Drupal/Core/Database/ExceptionHandler.php Base Database exception handler class.
IntegrityConstraintViolationException core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php Exception thrown if a query would violate an integrity constraint.
InvalidQueryException core/lib/Drupal/Core/Database/InvalidQueryException.php Exception thrown if a query would be invalid.
Log core/lib/Drupal/Core/Database/Log.php Database query logger.
ReplicaKillSwitch core/lib/Drupal/Core/Database/ReplicaKillSwitch.php Provides replica server kill switch to ignore it.
RowCountException core/lib/Drupal/Core/Database/RowCountException.php Exception thrown if a SELECT query trying to execute rowCount() on result.
Schema core/lib/Drupal/Core/Database/Schema.php Provides a base implementation for Database Schema.
SchemaException core/lib/Drupal/Core/Database/SchemaException.php Base exception for Schema-related errors.
SchemaObjectDoesNotExistException core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php Exception thrown if an object being modified doesn't exist yet.
SchemaObjectExistsException core/lib/Drupal/Core/Database/SchemaObjectExistsException.php Exception thrown if an object being created already exists.
StatementInterface core/lib/Drupal/Core/Database/StatementInterface.php Represents a prepared statement.
StatementPrefetch core/lib/Drupal/Core/Database/StatementPrefetch.php An implementation of StatementInterface that pre-fetches all data.
StatementWrapper core/lib/Drupal/Core/Database/StatementWrapper.php Implementation of StatementInterface encapsulating PDOStatement.
SupportsTemporaryTablesInterface core/lib/Drupal/Core/Database/SupportsTemporaryTablesInterface.php Adds support for temporary tables.
TransactionCommitFailedException core/lib/Drupal/Core/Database/TransactionCommitFailedException.php Exception thrown when a commit() function fails.
TransactionException core/lib/Drupal/Core/Database/TransactionException.php Exception thrown by an error in a database transaction.
TransactionExplicitCommitNotAllowedException core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php Exception to deny attempts to explicitly manage transactions.
TransactionNameNonUniqueException core/lib/Drupal/Core/Database/TransactionNameNonUniqueException.php Exception thrown when a savepoint or transaction name occurs twice.
TransactionNoActiveException core/lib/Drupal/Core/Database/TransactionNoActiveException.php Exception for when popTransaction() is called with no active transaction.
TransactionOutOfOrderException core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php Exception thrown when a rollBack() resulted in other active transactions being rolled-back.