Classes, traits, and interfaces - 7.x - drupal

Primary tabs

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
Database abstract class includes/database/database.inc Primary front-controller for the database system.
DatabaseAlterTestCase class modules/simpletest/tests/database_test.test Select alter tests.
DatabaseBasicSyntaxTestCase class modules/simpletest/tests/database_test.test Test how the current database driver interprets the SQL syntax.
DatabaseCaseSensitivityTestCase class modules/simpletest/tests/database_test.test Test case sensitivity handling.
DatabaseCondition class includes/database/query.inc Generic class for a series of conditions in a query.
DatabaseConnection abstract class includes/database/database.inc Base Database API class. 3
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.
DatabaseConnection_mysql class includes/database/mysql/database.inc
DatabaseConnection_pgsql class includes/database/pgsql/database.inc
DatabaseConnection_sqlite class includes/database/sqlite/database.inc Specific SQLite implementation of DatabaseConnection.
DatabaseDeleteTruncateTestCase class modules/simpletest/tests/database_test.test Delete/Truncate tests.
DatabaseDriverNotSpecifiedException class includes/database/database.inc Exception thrown if no driver is specified for a database connection.
DatabaseEmptyStatementTestCase class modules/simpletest/tests/database_test.test Tests the empty pseudo-statement class.
DatabaseFetch2TestCase class modules/simpletest/tests/database_test.test Test fetch actions, part 2.
DatabaseFetchTestCase class modules/simpletest/tests/database_test.test Test fetch actions, part 1.
DatabaseInsertDefaultsTestCase class modules/simpletest/tests/database_test.test Insert tests for "database default" values.
DatabaseInsertLOBTestCase class modules/simpletest/tests/database_test.test Insert tests using LOB fields, which are weird on some databases.
DatabaseInsertTestCase class modules/simpletest/tests/database_test.test Test the insert builder.
DatabaseInvalidDataTestCase class modules/simpletest/tests/database_test.test Test invalid data handling.
DatabaseLog class includes/database/log.inc Database query logger.
DatabaseLoggingTestCase class modules/simpletest/tests/database_test.test Query logging tests.
DatabaseMergeTestCase class modules/simpletest/tests/database_test.test Test the MERGE query builder.
DatabaseNextIdCase class modules/simpletest/tests/database_test.test Check the sequences API.
DatabaseQueryTestCase class modules/simpletest/tests/database_test.test Drupal-specific SQL syntax tests.
DatabaseRangeQueryTestCase class modules/simpletest/tests/database_test.test Range query tests.
DatabaseRegressionTestCase class modules/simpletest/tests/database_test.test Regression tests.
DatabaseReservedKeywordTestCase class modules/simpletest/tests/database_test.test Test reserved keyword handling (introduced for MySQL 8+)
DatabaseSchema abstract class includes/database/schema.inc Base class for database schema definitions. 3
DatabaseSchemaObjectDoesNotExistException class includes/database/schema.inc Exception thrown if an object being modified doesn't exist yet.
DatabaseSchemaObjectExistsException class includes/database/schema.inc Exception thrown if an object being created already exists.
DatabaseSchema_mysql class includes/database/mysql/schema.inc
DatabaseSchema_pgsql class includes/database/pgsql/schema.inc
DatabaseSchema_sqlite class includes/database/sqlite/schema.inc
DatabaseSelectCloneTest class modules/simpletest/tests/database_test.test Test cloning Select queries.
DatabaseSelectComplexTestCase class modules/simpletest/tests/database_test.test Test more complex select statements.
DatabaseSelectComplexTestCase2 class modules/simpletest/tests/database_test.test Test more complex select statements, part 2.
DatabaseSelectOrderedTestCase class modules/simpletest/tests/database_test.test Test select with order by clauses.
DatabaseSelectPagerDefaultTestCase class modules/simpletest/tests/database_test.test
DatabaseSelectSubqueryTestCase class modules/simpletest/tests/database_test.test Test case for subselects in a dynamic SELECT query.
DatabaseSelectTableSortDefaultTestCase class modules/simpletest/tests/database_test.test
DatabaseSelectTestCase class modules/simpletest/tests/database_test.test Test the SELECT builder.
DatabaseSerializeQueryTestCase class modules/simpletest/tests/database_test.test Query serialization tests.
DatabaseStatementBase class includes/database/database.inc Default implementation of DatabaseStatementInterface.
DatabaseStatementEmpty class includes/database/database.inc Empty implementation of a database statement.
DatabaseStatementInterface interface includes/database/database.inc Represents a prepared statement. 4
DatabaseStatementPrefetch class includes/database/prefetch.inc An implementation of DatabaseStatementInterface that prefetches all data. 1
DatabaseStatement_sqlite class includes/database/sqlite/database.inc Specific SQLite implementation of DatabaseConnection.
DatabaseTablePrefixTestCase class modules/simpletest/tests/database_test.test Test table prefix handling.
DatabaseTaggingTestCase class modules/simpletest/tests/database_test.test Select tagging tests.

Other projects


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