Search for driver

  1. Search 7.x for driver
  2. Search 9.5.x for driver
  3. Search 8.9.x for driver
  4. Search 10.3.x for driver
  5. Other projects
Title Object type File name Summary
DriverNotSpecifiedException class core/lib/Drupal/Core/Database/DriverNotSpecifiedException.php Exception thrown if no driver is specified for a database connection.
DriverNotSpecifiedException.php file core/lib/Drupal/Core/Database/DriverNotSpecifiedException.php
DriverSpecificConnectionUnitTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests management of database connections.
DriverSpecificConnectionUnitTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
DriverSpecificConnectionUnitTestBase::$id property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php The connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::$monitor property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A database connection used for monitoring processes.
DriverSpecificConnectionUnitTestBase::assertConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID exists.
DriverSpecificConnectionUnitTestBase::assertNoConnection function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Asserts that a connection ID does not exist.
DriverSpecificConnectionUnitTestBase::getConnectionId function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns the connection ID of the current test connection.
DriverSpecificConnectionUnitTestBase::getQuery function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Returns a set of queries specific for the database in testing.
DriverSpecificConnectionUnitTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
DriverSpecificConnectionUnitTestBase::testConnectionOpen function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests pdo options override.
DriverSpecificConnectionUnitTestBase::testOpenClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() without query.
DriverSpecificConnectionUnitTestBase::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query.
DriverSpecificConnectionUnitTestBase::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a query and custom prefetch method.
DriverSpecificConnectionUnitTestBase::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests Database::closeConnection() with a select query.
DriverSpecificConnectionUnitTestBase::TEST_TARGET_CONNECTION constant core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php A target connection identifier to be used for testing.
DriverSpecificDatabaseTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php Base class for driver specific database tests.
DriverSpecificDatabaseTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php
DriverSpecificDatabaseTestBase::$modules property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php Modules to install.
DriverSpecificDatabaseTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php
DriverSpecificKernelTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php Base class for driver specific kernel tests.
DriverSpecificKernelTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php
DriverSpecificKernelTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php The database connection for testing.
DriverSpecificKernelTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php
DriverSpecificSchemaTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests table creation and modification via the schema API.
DriverSpecificSchemaTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
DriverSpecificSchemaTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Connection to the database.
DriverSpecificSchemaTestBase::$counter property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php A global counter for table and field creation.
DriverSpecificSchemaTestBase::$schema property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Database schema instance.
DriverSpecificSchemaTestBase::assertCollation function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that fields have the correct collation, if supported.
DriverSpecificSchemaTestBase::assertFieldAdditionRemoval function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a given field can be added and removed from a table.
DriverSpecificSchemaTestBase::assertFieldChange function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a field can be changed from one spec to another.
DriverSpecificSchemaTestBase::assertFieldCharacteristics function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Asserts that a newly added field has the correct characteristics.
DriverSpecificSchemaTestBase::checkSchemaComment function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Checks that a table or column comment matches a given description.
DriverSpecificSchemaTestBase::checkSequenceRenaming function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Check that the ID sequence gets renamed when the table is renamed.
DriverSpecificSchemaTestBase::providerTestSchemaCreateTablePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Provides test cases for SchemaTest::testSchemaCreateTablePrimaryKey().
DriverSpecificSchemaTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
DriverSpecificSchemaTestBase::testChangePrimaryKeyToSerial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests converting an int to a serial when the int column has data.
DriverSpecificSchemaTestBase::testChangeSerialFieldLength function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing a field length.
DriverSpecificSchemaTestBase::testDefaultAfterAlter function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests default values after altering table.
DriverSpecificSchemaTestBase::testFindPrimaryKeyColumns function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php @covers ::findPrimaryKeyColumns
DriverSpecificSchemaTestBase::testFindTables function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests the findTables() method.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyAddition function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests adding an invalid field specification as a primary key.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyChange function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing the primary key with an invalid field specification.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyOnTableCreation function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests an invalid field specification as a primary key on table creation.
DriverSpecificSchemaTestBase::testReservedKeywordsForNaming function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests handling with reserved keywords for naming tables, fields and more.
DriverSpecificSchemaTestBase::testSchema function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests database interactions.
DriverSpecificSchemaTestBase::testSchemaAddFieldDefaultInitial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests adding columns to an existing table with default and initial value.
DriverSpecificSchemaTestBase::testSchemaChangeFieldDefaultInitial function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests changing columns between types with default and initial values.

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