namespace Drupal\Core\Database
Same name in other branches
Object name | File name | Summary |
---|---|---|
Connection | core/lib/Drupal/Core/Database/Connection.php | Base Database API class. |
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. |
FetchModeTrait | core/lib/Drupal/Core/Database/FetchModeTrait.php | Provide helper methods for statement fetching. |
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. |
StatementIteratorTrait | core/lib/Drupal/Core/Database/StatementIteratorTrait.php | StatementInterface iterator trait. |
StatementPrefetch | core/lib/Drupal/Core/Database/StatementPrefetch.php | An implementation of StatementInterface that pre-fetches all data. |
StatementPrefetchIterator | core/lib/Drupal/Core/Database/StatementPrefetchIterator.php | An implementation of StatementInterface that prefetches all data. |
StatementWrapper | core/lib/Drupal/Core/Database/StatementWrapper.php | Implementation of StatementInterface encapsulating PDOStatement. |
StatementWrapperIterator | core/lib/Drupal/Core/Database/StatementWrapperIterator.php | StatementInterface iterator implementation. |
SupportsTemporaryTablesInterface | core/lib/Drupal/Core/Database/SupportsTemporaryTablesInterface.php | Adds support for temporary tables. |
Transaction | core/lib/Drupal/Core/Database/Transaction.php | A wrapper class for creating and managing database transactions. |
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. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.