70 calls to Database::getConnection()
- ConnectionUnitTest::getConnectionID in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Returns the connection ID of the current test connection.
- ConnectionUnitTest::setUp in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Sets up unit test environment.
- ConnectionUnitTest::testOpenClose in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests Database::closeConnection() without query.
- ConnectionUnitTest::testOpenQueryClose in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests Database::closeConnection() with a query.
- ConnectionUnitTest::testOpenQueryPrefetchClose in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests Database::closeConnection() with a query and custom prefetch method.
- ConnectionUnitTest::testOpenSelectQueryClose in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests Database::closeConnection() with a select query.
- DatabaseConnectionTestCase::testConnectionClosing in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests the closing of a database connection.
- DatabaseConnectionTestCase::testConnectionOptions in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Tests the connection options of the active database.
- DatabaseConnectionTestCase::testConnectionRouting in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseConnectionTestCase::testConnectionRoutingOverride in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseInvalidDataTestCase::testInsertDuplicateData in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Traditional SQL database systems abort inserts when invalid data is encountered.
- DatabaseTasks::checkEngineVersion in drupal-7.x/
includes/ install.inc - Check the engine version.
- DatabaseTasks::connect in drupal-7.x/
includes/ install.inc - Check if we can connect to the database.
- DatabaseTasks_pgsql::checkBinaryOutput in drupal-7.x/
includes/ database/ pgsql/ install.inc - Check Binary Output.
- DatabaseTransactionTestCase::testTransactionRollBackNotSupported in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction rollback on a database that does not support transactions.
- DatabaseTransactionTestCase::testTransactionRollBackSupported in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction rollback on a database that supports transactions.
- DatabaseTransactionTestCase::testTransactionStacking in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test transaction stacking and commit / rollback.
- DatabaseTransactionTestCase::testTransactionWithDdlStatement in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Test the compatibility of transactions with DDL statements.
- DatabaseTransactionTestCase::transactionInnerLayer in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Helper method for transaction unit tests. This "inner layer" transaction is either used alone or nested inside of the "outer layer" transaction.
- DatabaseTransactionTestCase::transactionOuterLayer in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Helper method for transaction unit test. This "outer layer" transaction starts and then encapsulates the "inner layer" transaction. This nesting is used to evaluate whether the the database transaction API properly supports…
- dblog_watchdog in drupal-7.x/
modules/ dblog/ dblog.module - Implements hook_watchdog().
- db_add_field in drupal-7.x/
includes/ database/ database.inc - Adds a new field to a table.
- db_add_index in drupal-7.x/
includes/ database/ database.inc - Adds an index.
- db_add_primary_key in drupal-7.x/
includes/ database/ database.inc - Adds a primary key to a database table.
- db_add_unique_key in drupal-7.x/
includes/ database/ database.inc - Adds a unique key.
- db_change_field in drupal-7.x/
includes/ database/ database.inc - Changes a field definition.
- db_create_table in drupal-7.x/
includes/ database/ database.inc - Creates a new table from a Drupal table definition.
- db_delete in drupal-7.x/
includes/ database/ database.inc - Returns a new DeleteQuery object for the active database.
- db_driver in drupal-7.x/
includes/ database/ database.inc - Retrieves the name of the currently active database driver.
- db_drop_field in drupal-7.x/
includes/ database/ database.inc - Drops a field.
- db_drop_index in drupal-7.x/
includes/ database/ database.inc - Drops an index.
- db_drop_primary_key in drupal-7.x/
includes/ database/ database.inc - Drops the primary key of a database table.
- db_drop_table in drupal-7.x/
includes/ database/ database.inc - Drops a table.
- db_drop_unique_key in drupal-7.x/
includes/ database/ database.inc - Drops a unique key.
- db_escape_field in drupal-7.x/
includes/ database/ database.inc - Restricts a dynamic column or constraint name to safe characters.
- db_escape_table in drupal-7.x/
includes/ database/ database.inc - Restricts a dynamic table name to safe characters.
- db_field_exists in drupal-7.x/
includes/ database/ database.inc - Checks if a column exists in the given table.
- db_field_names in drupal-7.x/
includes/ database/ database.inc - Returns an array of field names from an array of key/index column specifiers.
- db_field_set_default in drupal-7.x/
includes/ database/ database.inc - Sets the default value for a field.
- db_field_set_no_default in drupal-7.x/
includes/ database/ database.inc - Sets a field to have no default value.
- db_find_tables in drupal-7.x/
includes/ database/ database.inc - Finds all tables that are like the specified base table name.
- db_index_exists in drupal-7.x/
includes/ database/ database.inc - Checks if an index exists in the given table.
- db_insert in drupal-7.x/
includes/ database/ database.inc - Returns a new InsertQuery object for the active database.
- db_like in drupal-7.x/
includes/ database/ database.inc - Escapes characters that work as wildcard characters in a LIKE pattern.
- db_merge in drupal-7.x/
includes/ database/ database.inc - Returns a new MergeQuery object for the active database.
- db_next_id in drupal-7.x/
includes/ database/ database.inc - Retrieves a unique id.
- db_query in drupal-7.x/
includes/ database/ database.inc - Executes an arbitrary query string against the active database.
- db_query_range in drupal-7.x/
includes/ database/ database.inc - Executes a query against the active database, restricted to a range.
- db_query_temporary in drupal-7.x/
includes/ database/ database.inc - Executes a query string and saves the result set to a temporary table.
- db_rename_table in drupal-7.x/
includes/ database/ database.inc - Renames a table.
- db_select in drupal-7.x/
includes/ database/ database.inc - Returns a new SelectQuery object for the active database.
- db_table_exists in drupal-7.x/
includes/ database/ database.inc - Checks if a table exists.
- db_transaction in drupal-7.x/
includes/ database/ database.inc - Returns a new transaction object for the active database.
- db_truncate in drupal-7.x/
includes/ database/ database.inc - Returns a new TruncateQuery object for the active database.
- db_update in drupal-7.x/
includes/ database/ database.inc - Returns a new UpdateQuery object for the active database.
- DrupalTestCase::assert in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Internal helper: stores the assert.
- DrupalUnitTestCase::setUp in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Sets up unit test environment.
- DrupalWebTestCase::preloadRegistry in drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php - Preload the registry from the testing site.
- FieldSqlStorageTestCase::testFieldUpdateIndexesWithData in drupal-7.x/
modules/ field/ modules/ field_sql_storage/ field_sql_storage.test - Test adding and removing indexes while data is present.
- field_sql_storage_field_storage_update_field in drupal-7.x/
modules/ field/ modules/ field_sql_storage/ field_sql_storage.module - Implements hook_field_storage_update_field().
- ModuleTestCase::assertTableCount in drupal-7.x/
modules/ system/ system.test - Assert there are tables that begin with the specified base table name.
- NodeCreationTestCase::testFailedPageCreation in drupal-7.x/
modules/ node/ node.test - Verifies that a transaction rolls back the failed creation.
- poll_update_7001 in drupal-7.x/
modules/ poll/ poll.install - Use the poll_choice primary key to record votes in poll_votes rather than the choice order. Rename chorder to weight.
- Query::__wakeup in drupal-7.x/
includes/ database/ query.inc - Implements the magic __wakeup function to reconnect to the database.
- SchemaTestCase::checkSchemaComment in drupal-7.x/
modules/ simpletest/ tests/ schema.test - Checks that a table or column comment matches a given description.
- SchemaTestCase::testSchema in drupal-7.x/
modules/ simpletest/ tests/ schema.test - simpletest_clean_database in drupal-7.x/
modules/ simpletest/ simpletest.module - Removed prefixed tables from the database that are left over from crashed tests.
- system_requirements in drupal-7.x/
modules/ system/ system.install - Implements hook_requirements().
- _db_create_keys_sql in drupal-7.x/
includes/ database/ database.inc - _registry_check_code in drupal-7.x/
includes/ bootstrap.inc - Checks for a resource in the registry.