BackdropTestCase::getDatabaseConnection in core/modules/simpletest/backdrop_web_test_case.php
Returns the database connection to the site running Simpletest.
BackdropWebTestCaseCache::alterToMyISAM in core/modules/simpletest/backdrop_web_test_case_cache.php
Alter tables to MyISAM engine to speed up tests.
backdrop_bootstrap_is_installed in core/includes/bootstrap.inc
Verify the installation of Backdrop is correct.
ConnectionUnitTest::getConnectionID in core/modules/simpletest/tests/database_test.test
Returns the connection ID of the current test connection.
ConnectionUnitTest::setUp in core/modules/simpletest/tests/database_test.test
Sets up unit test environment.
ConnectionUnitTest::testOpenClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in core/modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a select query.
DatabaseCharsetConverter::convertAllDatabases in core/includes/database/charset_converter.inc
Convert the MySQL Backdrop databases character set and collation.
DatabaseCharsetConverter::__construct in core/includes/database/charset_converter.inc
DatabaseCharsetConverter constructor.
DatabaseConnectionTestCase::testConnectionClosing in core/modules/simpletest/tests/database_test.test
Tests the closing of a database connection.
DatabaseConnectionTestCase::testConnectionOptions in core/modules/simpletest/tests/database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting in core/modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride in core/modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseInvalidDataTestCase::testInsertDuplicateData in core/modules/simpletest/tests/database_test.test
Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseSelectTestCase::testVulnerableComment in core/modules/simpletest/tests/database_test.test
Test query COMMENT system against vulnerabilities.
DatabaseTasks::checkEngineVersion in core/includes/install.inc
Check the engine version.
DatabaseTasks::checkUtf8mb4 in core/includes/install.inc
Check the engine version.
DatabaseTasks::connect in core/includes/install.inc
Check if we can connect to the database.
DatabaseTransactionTestCase::testTransactionRollBackNotSupported in core/modules/simpletest/tests/database_test.test
Test transaction rollback on a database that does not support transactions.
DatabaseTransactionTestCase::testTransactionRollBackSupported in core/modules/simpletest/tests/database_test.test
Test transaction rollback on a database that supports transactions.
DatabaseTransactionTestCase::testTransactionStacking in core/modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::testTransactionWithDdlStatement in core/modules/simpletest/tests/database_test.test
Test the compatibility of transactions with DDL statements.
DatabaseTransactionTestCase::transactionInnerLayer in core/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 core/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…
date_sql_handler::set_db_timezone in core/modules/date/views/date_sql_handler.inc
Set the database timezone offset.
date_sql_handler::__construct in core/modules/date/views/date_sql_handler.inc
The object constructor.
dblog_watchdog in core/modules/dblog/dblog.module
Implements hook_watchdog().
db_add_field in core/includes/database/database.inc
Adds a new field to a table.
db_add_index in core/includes/database/database.inc
Adds an index.
db_add_primary_key in core/includes/database/database.inc
Adds a primary key to a database table.
db_add_unique_key in core/includes/database/database.inc
Adds a unique key.
db_change_field in core/includes/database/database.inc
Changes a field definition.
db_create_table in core/includes/database/database.inc
Creates a new table from a Backdrop table definition.
db_delete in core/includes/database/database.inc
Returns a new DeleteQuery object for the active database.
db_driver in core/includes/database/database.inc
Retrieves the name of the currently active database driver.
db_drop_field in core/includes/database/database.inc
Drops a field.
db_drop_index in core/includes/database/database.inc
Drops an index.
db_drop_primary_key in core/includes/database/database.inc
Drops the primary key of a database table.
db_drop_table in core/includes/database/database.inc
Drops a table.
db_drop_unique_key in core/includes/database/database.inc
Drops a unique key.
db_escape_field in core/includes/database/database.inc
Restricts a dynamic column or constraint name to safe characters.
db_escape_table in core/includes/database/database.inc
Restricts a dynamic table name to safe characters.
db_field_exists in core/includes/database/database.inc
Checks if a column exists in the given table.
db_field_names in core/includes/database/database.inc
Returns an array of field names from an array of key/index column specifiers.
db_field_set_default in core/includes/database/database.inc
Sets the default value for a field.
db_field_set_no_default in core/includes/database/database.inc
Sets a field to have no default value.
db_find_tables in core/includes/database/database.inc
Finds all tables that are like the specified base table name.
db_index_exists in core/includes/database/database.inc
Checks if an index exists in the given table.
db_insert in core/includes/database/database.inc
Returns a new InsertQuery object for the active database.
db_like in core/includes/database/database.inc
Escapes characters that work as wildcard characters in a LIKE pattern.
db_merge in core/includes/database/database.inc
Returns a new MergeQuery object for the active database.
db_next_id in core/includes/database/database.inc
Retrieves a unique id.
db_query in core/includes/database/database.inc
Executes an arbitrary query string against the active database.
db_query_range in core/includes/database/database.inc
Executes a query against the active database, restricted to a range.
db_query_temporary in core/includes/database/database.inc
Executes a SELECT query string and saves the result set to a temporary table.
db_rename_table in core/includes/database/database.inc
Renames a table.
db_select in core/includes/database/database.inc
Returns a new SelectQuery object for the active database.
db_table_exists in core/includes/database/database.inc
Checks if a table exists.
db_transaction in core/includes/database/database.inc
Returns a new transaction object for the active database.
db_truncate in core/includes/database/database.inc
Returns a new TruncateQuery object for the active database.
db_update in core/includes/database/database.inc
Returns a new UpdateQuery object for the active database.
EntityReferenceSelectionHandlerGeneric_user::entityFieldQueryAlter in core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandlerGeneric.inc
Implements EntityReferenceHandler::entityFieldQueryAlter().
field_sql_storage_field_storage_update_field in core/modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_update_field().
install_finished in core/includes/install.core.inc
Finishes importing files at end of installation.
install_system_module in core/includes/install.core.inc
Installation task; install the Backdrop system module.
install_verify_database_utf8mb4 in core/includes/install.core.inc
Verifies if UTF8 MB4 support is available in the database.
ModuleTestCase::assertTableCount in core/modules/system/tests/system.test
Assert there are tables that begin with the specified base table name.
NodeCreationTestCase::testFailedPageCreation in core/modules/node/tests/node.test
Verifies that a transaction rolls back the failed creation.
NodeMultiByteUtf8Test::testMultiByteUtf8 in core/modules/node/tests/node.test
Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
Query::__wakeup in core/includes/database/query.inc
Implements the magic __wakeup function to reconnect to the database.
SchemaTestCase::checkSchemaComment in core/modules/simpletest/tests/schema.test
Checks that a table or column comment matches a given description.
SchemaTestCase::testSchema in core/modules/simpletest/tests/schema.test
simpletest_clean_database in core/modules/simpletest/simpletest.module
Removed prefixed tables from the database that are left over from crashed tests.
simpletest_clean_profile_cache_tables in core/modules/simpletest/simpletest.module
Removes cached profile tables from the database.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
system_update_1086 in core/modules/system/system.install
Preserve 4-byte UTF-8 database update value if set.
system_utf8mb4_convert_form in core/modules/system/system.admin.inc
Form to convert existing database tables to utf8mb4 if supported.
telemetry_telemetry_data in core/modules/telemetry/telemetry.telemetry.inc
Implements hook_telemetry_data().
views_handler_filter_numeric::operators in core/modules/views/handlers/views_handler_filter_numeric.inc
views_handler_filter_string::operators in core/modules/views/handlers/views_handler_filter_string.inc
This kind of construct makes it relatively easy for a child class to add or remove functionality by overriding this function and adding/removing items from this array.
views_plugin_query_default::query in core/modules/views/plugins/views_plugin_query_default.inc
Generate a query and a countquery from all of the information supplied to the object.
views_ui_preview in core/modules/views_ui/views_ui.admin.inc
Returns the results of the live preview.
_system_check_db_utf8mb4_requirements in core/modules/system/system.install
Checks whether the requirements for multi-byte UTF-8 support are met.