Search for connection

  1. Search 9.5.x for connection
  2. Search 8.9.x for connection
  3. Search 10.3.x for connection
  4. Search 11.x for connection
  5. Other projects
Title Object type File name Summary
DatabaseConnection::__construct function includes/database/database.inc
DatabaseConnectionNotDefinedException class includes/database/database.inc Exception thrown if an undefined database connection is requested.
DatabaseConnectionTestCase class modules/simpletest/tests/database_test.test Test connection management.
DatabaseConnectionTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseConnectionTestCase::testConnectionClosing function modules/simpletest/tests/database_test.test Tests the closing of a database connection.
DatabaseConnectionTestCase::testConnectionOptions function modules/simpletest/tests/database_test.test Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting function modules/simpletest/tests/database_test.test Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride function modules/simpletest/tests/database_test.test Test that connections return appropriate connection objects.
DatabaseConnection_mysql class includes/database/mysql/database.inc
DatabaseConnection_mysql::$needsCleanup property includes/database/mysql/database.inc Flag to indicate if the cleanup function in __destruct() should run.
DatabaseConnection_mysql::$reservedKeyWords property includes/database/mysql/database.inc The list of MySQL reserved key words.
DatabaseConnection_mysql::databaseType function includes/database/mysql/database.inc Returns the name of the PDO driver for this connection.
DatabaseConnection_mysql::doCommit function includes/database/mysql/database.inc Do the actual commit, including a workaround for PHP 8 behaviour changes.
DatabaseConnection_mysql::driver function includes/database/mysql/database.inc Returns the type of database driver.
DatabaseConnection_mysql::escapeAlias function includes/database/mysql/database.inc Escapes an alias name string.
DatabaseConnection_mysql::escapeField function includes/database/mysql/database.inc Escapes a field name string.
DatabaseConnection_mysql::escapeFields function includes/database/mysql/database.inc
DatabaseConnection_mysql::mapConditionOperator function includes/database/mysql/database.inc Gets any special processing requirements for the condition operator.
DatabaseConnection_mysql::nextId function includes/database/mysql/database.inc Retrieves an unique id from a given sequence.
DatabaseConnection_mysql::nextIdDelete function includes/database/mysql/database.inc
DatabaseConnection_mysql::popCommittableTransactions function includes/database/mysql/database.inc Overridden to work around issues to MySQL not supporting transactional DDL.
DatabaseConnection_mysql::queryRange function includes/database/mysql/database.inc Runs a limited-range query on this database object.
DatabaseConnection_mysql::queryTemporary function includes/database/mysql/database.inc Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_mysql::quoteIdentifier function includes/database/mysql/database.inc Quotes an identifier if it matches a MySQL reserved keyword.
DatabaseConnection_mysql::rollback function includes/database/mysql/database.inc Rolls back the transaction entirely or to a named savepoint.
DatabaseConnection_mysql::setPrefix function includes/database/mysql/database.inc }
DatabaseConnection_mysql::utf8mb4IsActive function includes/database/mysql/database.inc Checks whether utf8mb4 support is currently active.
DatabaseConnection_mysql::utf8mb4IsConfigurable function includes/database/mysql/database.inc Checks whether utf8mb4 support is configurable in settings.php.
DatabaseConnection_mysql::utf8mb4IsSupported function includes/database/mysql/database.inc Checks whether utf8mb4 support is available on the current database system.
DatabaseConnection_mysql::__construct function includes/database/mysql/database.inc
DatabaseConnection_mysql::__destruct function includes/database/mysql/database.inc
DatabaseConnection_pgsql class includes/database/pgsql/database.inc
DatabaseConnection_pgsql::databaseType function includes/database/pgsql/database.inc Returns the name of the PDO driver for this connection.
DatabaseConnection_pgsql::driver function includes/database/pgsql/database.inc Returns the type of database driver.
DatabaseConnection_pgsql::mapConditionOperator function includes/database/pgsql/database.inc Gets any special processing requirements for the condition operator.
DatabaseConnection_pgsql::nextId function includes/database/pgsql/database.inc Retrieve the next id in a sequence.
DatabaseConnection_pgsql::prepareQuery function includes/database/pgsql/database.inc Prepares a query string and returns the prepared statement.
DatabaseConnection_pgsql::query function includes/database/pgsql/database.inc Executes a query string against the database.
DatabaseConnection_pgsql::queryRange function includes/database/pgsql/database.inc Runs a limited-range query on this database object.
DatabaseConnection_pgsql::queryTemporary function includes/database/pgsql/database.inc Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_pgsql::utf8mb4IsActive function includes/database/pgsql/database.inc Checks whether utf8mb4 support is currently active.
DatabaseConnection_pgsql::utf8mb4IsSupported function includes/database/pgsql/database.inc Checks whether utf8mb4 support is available on the current database system.
DatabaseConnection_pgsql::__construct function includes/database/pgsql/database.inc
DatabaseConnection_sqlite class includes/database/sqlite/database.inc Specific SQLite implementation of DatabaseConnection.
DatabaseConnection_sqlite::$attachedDatabases property includes/database/sqlite/database.inc All databases attached to the current database. This is used to allow
prefixes to be safely handled without locking the table
DatabaseConnection_sqlite::$savepointSupport property includes/database/sqlite/database.inc Whether this database connection supports savepoints.
DatabaseConnection_sqlite::$tableDropped property includes/database/sqlite/database.inc Whether or not a table has been dropped this request: the destructor will
only try to get rid of unnecessary databases if there is potential of them
being empty.
DatabaseConnection_sqlite::$willRollback property includes/database/sqlite/database.inc Whether or not the active transaction (if any) will be rolled back.
DatabaseConnection_sqlite::databaseType function includes/database/sqlite/database.inc Returns the name of the PDO driver for this connection.
DatabaseConnection_sqlite::driver function includes/database/sqlite/database.inc Returns the type of database driver.

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