Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
Connection::databaseType function core/modules/mysql/src/Driver/Database/mysql/Connection.php Returns the name of the database engine accessed by this driver.
Connection::DATABASE_NOT_FOUND constant core/modules/mysql/src/Driver/Database/mysql/Connection.php Error code for "Unknown database" error.
Connection::DATABASE_NOT_FOUND constant core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Error code for "Unable to open database file" error.
Connection::DATABASE_NOT_FOUND constant core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Error code for "Unknown database" error.
Connection::defaultOptions function core/lib/Drupal/Core/Database/Connection.php Returns the default query options for any given query.
Connection::delete function core/lib/Drupal/Core/Database/Connection.php Prepares and returns a DELETE query object.
Connection::destroy function core/lib/Drupal/Core/Database/Connection.php Destroys this Connection object.
Connection::doCommit function core/lib/Drupal/Core/Database/Connection.php Do the actual commit, invoke post-commit callbacks.
Connection::doCommit function core/modules/mysql/src/Driver/Database/mysql/Connection.php Do the actual commit, invoke post-commit callbacks.
Connection::driver function core/modules/mysql/src/Driver/Database/mysql/Connection.php Returns the type of database driver.
Connection::driver function core/lib/Drupal/Core/Database/Connection.php Returns the type of database driver.
Connection::driver function core/tests/fixtures/database_drivers/custom/fake/Connection.php Returns the type of database driver.
Connection::driver function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns the type of database driver.
Connection::driver function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php Returns the type of database driver.
Connection::driver function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php Returns the type of database driver.
Connection::driver function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php Returns the type of database driver.
Connection::driver function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Returns the type of database driver.
Connection::escapeAlias function core/lib/Drupal/Core/Database/Connection.php Escapes an alias name string.
Connection::escapeDatabase function core/lib/Drupal/Core/Database/Connection.php Escapes a database name string.
Connection::escapeField function core/lib/Drupal/Core/Database/Connection.php Escapes a field name string.
Connection::escapeLike function core/lib/Drupal/Core/Database/Connection.php Escapes characters that work as wildcard characters in a LIKE pattern.
Connection::escapeTable function core/lib/Drupal/Core/Database/Connection.php Escapes a table name string.
Connection::exceptionHandler function core/lib/Drupal/Core/Database/Connection.php Returns the database exceptions handler.
Connection::expandArguments function core/lib/Drupal/Core/Database/Connection.php Expands out shorthand placeholders.
Connection::filterComment function core/lib/Drupal/Core/Database/Connection.php Sanitize a query comment string.
Connection::generateTemporaryTableName function core/lib/Drupal/Core/Database/Connection.php Generates a temporary table name.
Connection::getAttachedDatabases function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Gets all the attached databases.
Connection::getConnectionOptions function core/lib/Drupal/Core/Database/Connection.php Returns the connection information for this connection object.
Connection::getDriverClass function core/lib/Drupal/Core/Database/Connection.php Gets the driver-specific override class if any for the specified class.
Connection::getFullQualifiedTableName function core/lib/Drupal/Core/Database/Connection.php Get a fully qualified table name.
Connection::getFullQualifiedTableName function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Get a fully qualified table name.
Connection::getFullQualifiedTableName function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Get a fully qualified table name.
Connection::getKey function core/lib/Drupal/Core/Database/Connection.php Returns the key this connection is associated with.
Connection::getLogger function core/lib/Drupal/Core/Database/Connection.php Gets the current logging object for this connection.
Connection::getMariaDbVersionMatch function core/modules/mysql/src/Driver/Database/mysql/Connection.php Gets the MariaDB portion of the server version.
Connection::getPagerManager function core/lib/Drupal/Core/Database/Connection.php Get the pager manager service, if available.
Connection::getProvider function core/lib/Drupal/Core/Database/Connection.php Get the module name of the module that is providing the database driver.
Connection::getServerVersion function core/modules/mysql/src/Driver/Database/mysql/Connection.php Gets the server version.
Connection::getServerVersion function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php Gets the server version.
Connection::getSQLState function core/lib/Drupal/Core/Database/Connection.php Extracts the SQLSTATE error from a PDOException.
Connection::getTarget function core/lib/Drupal/Core/Database/Connection.php Returns the target this connection is associated with.
Connection::getUnprefixedTablesMap function core/lib/Drupal/Core/Database/Connection.php Gets a list of individually prefixed table names.
Connection::handleQueryException function core/lib/Drupal/Core/Database/Connection.php Wraps and re-throws any PDO exception thrown by static::query().
Connection::handleQueryException function core/modules/mysql/src/Driver/Database/mysql/Connection.php Wraps and re-throws any PDO exception thrown by static::query().
Connection::handleQueryException function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Wraps and re-throws any PDO exception thrown by static::query().
Connection::hasJson function core/lib/Drupal/Core/Database/Connection.php Runs a simple query to validate json datatype support.
Connection::hasJson function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Runs a simple query to validate json datatype support.
Connection::insert function core/lib/Drupal/Core/Database/Connection.php Prepares and returns an INSERT query object.
Connection::inTransaction function core/lib/Drupal/Core/Database/Connection.php Determines if there is an active transaction open.
Connection::isMariaDb function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php Determines whether the MySQL distribution is MariaDB or not.

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