Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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::expandArguments function core/lib/Drupal/Core/Database/Connection.php Expands out shorthand placeholders.
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::getMariaDbVersionMatch function core/modules/mysql/src/Driver/Database/mysql/Connection.php Gets the MariaDB portion of the server version.
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::getUnprefixedTablesMap function core/lib/Drupal/Core/Database/Connection.php Gets a list of individually prefixed table names.
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.
Connection::isMariaDb function core/modules/mysql/src/Driver/Database/mysql/Connection.php Determines whether the MySQL distribution is MariaDB or not.
Connection::lastInsertId function core/lib/Drupal/Core/Database/Connection.php Returns the ID of the last inserted row or sequence value.
Connection::makeSequenceName function core/lib/Drupal/Core/Database/Connection.php Creates the appropriate sequence name for a given table and serial field.
Connection::popCommittableTransactions function core/lib/Drupal/Core/Database/Connection.php Commit all the transaction layers that can commit.
Connection::popCommittableTransactions function core/modules/mysql/src/Driver/Database/mysql/Connection.php Overridden to work around issues to MySQL not supporting transactional DDL.
Connection::popTransaction function core/lib/Drupal/Core/Database/Connection.php Decreases the depth of transaction nesting.
Connection::POSTGRESQL_NEXTID_LOCK constant core/modules/pgsql/src/Driver/Database/pgsql/Connection.php The name by which to obtain a lock for retrieve the next insert id.
Connection::prefixTables function core/lib/Drupal/Core/Database/Connection.php Appends a database prefix to all tables in a query.
Connection::prepareStatement function core/lib/Drupal/Core/Database/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Returns a prepared statement given a SQL string.
Connection::prepareStatement function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Returns a prepared statement given a SQL string.
Connection::preprocessStatement function core/lib/Drupal/Core/Database/Connection.php Returns a string SQL statement ready for preparation.
Connection::pushTransaction function core/lib/Drupal/Core/Database/Connection.php Increases the depth of transaction nesting.
Connection::quoteIdentifiers function core/lib/Drupal/Core/Database/Connection.php Quotes all identifiers in a query.
Connection::releaseSavepoint function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Release a savepoint by name.
Connection::rollbackSavepoint function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Rollback a savepoint by name if it exists.
Connection::schema function core/lib/Drupal/Core/Database/Connection.php Returns a DatabaseSchema object for manipulating the schema.
Connection::select function core/lib/Drupal/Core/Database/Connection.php Prepares and returns a SELECT query object.
Connection::setKey function core/lib/Drupal/Core/Database/Connection.php Tells this connection object what its key is.
Connection::setLogger function core/lib/Drupal/Core/Database/Connection.php Associates a logging object with this connection.
Connection::setPrefix function core/lib/Drupal/Core/Database/Connection.php Set the list of prefixes used by this database connection.
Connection::setTarget function core/lib/Drupal/Core/Database/Connection.php Tells this connection object what its target value is.
Connection::sqlFunctionConcat function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the CONCAT() SQL function.
Connection::sqlFunctionConcatWs function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the CONCAT_WS() SQL function.
Connection::sqlFunctionGreatest function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the GREATEST() SQL function.
Connection::sqlFunctionIf function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the IF() SQL function.
Connection::sqlFunctionLeast function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the LEAST() SQL function.
Connection::sqlFunctionLikeBinary function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the LIKE BINARY SQL operator.
Connection::sqlFunctionRand function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the RAND() SQL function.
Connection::sqlFunctionRegexp function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the REGEXP SQL operator.
Connection::sqlFunctionSubstring function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the SUBSTRING() SQL function.
Connection::sqlFunctionSubstringIndex function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the SUBSTRING_INDEX() SQL function.
Connection::SQLSTATE_SYNTAX_ERROR constant core/modules/mysql/src/Driver/Database/mysql/Connection.php SQLSTATE error code for "Syntax error or access rule violation".

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