Search for data
- Search 9.5.x for data
- Search 8.9.x for data
- Search 10.3.x for data
- Search 11.x for data
- Search main for data
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DatabaseQueryTestCase::testConditionOperatorArgumentsSQLInjection | function | modules/ |
Tests SQL injection via condition operator. |
| DatabaseRangeQueryTestCase | class | modules/ |
Range query tests. |
| DatabaseRangeQueryTestCase::getInfo | function | modules/ |
|
| DatabaseRangeQueryTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| DatabaseRangeQueryTestCase::testRangeQuery | function | modules/ |
Confirm that range query work and return correct result. |
| DatabaseRegressionTestCase | class | modules/ |
Regression tests. |
| DatabaseRegressionTestCase::getInfo | function | modules/ |
|
| DatabaseRegressionTestCase::testDBFieldExists | function | modules/ |
Test the db_field_exists() function. |
| DatabaseRegressionTestCase::testDBIndexExists | function | modules/ |
Test the db_index_exists() function. |
| DatabaseRegressionTestCase::testDBTableExists | function | modules/ |
Test the db_table_exists() function. |
| DatabaseRegressionTestCase::testRegression_310447 | function | modules/ |
Regression test for #310447. |
| DatabaseReservedKeywordTestCase | class | modules/ |
Test reserved keyword handling (introduced for MySQL 8+) |
| DatabaseReservedKeywordTestCase::getInfo | function | modules/ |
|
| DatabaseReservedKeywordTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| DatabaseReservedKeywordTestCase::testDeleteReservedWordTable | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testInsertReservedWordTable | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testMergeReservedWordTable | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordAliasAllFields | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordAliasCount | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordAliasSpecificFields | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordTableAllFields | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordTableCount | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testSelectReservedWordTableSpecificField | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testTableNameQuoting | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testTruncateReservedWordTable | function | modules/ |
|
| DatabaseReservedKeywordTestCase::testUpdateReservedWordTable | function | modules/ |
|
| DatabaseSchema | class | includes/ |
Base class for database schema definitions. |
| DatabaseSchema::$connection | property | includes/ |
The database connection. |
| DatabaseSchema::$defaultSchema | property | includes/ |
Definition of prefixInfo array structure. |
| DatabaseSchema::$placeholder | property | includes/ |
The placeholder counter. |
| DatabaseSchema::$uniqueIdentifier | property | includes/ |
A unique identifier for this query object. |
| DatabaseSchema::addField | function | includes/ |
Add a new field to a table. |
| DatabaseSchema::addIndex | function | includes/ |
Add an index. |
| DatabaseSchema::addPrimaryKey | function | includes/ |
Add a primary key. |
| DatabaseSchema::addUniqueKey | function | includes/ |
Add a unique key. |
| DatabaseSchema::buildTableNameCondition | function | includes/ |
Build a condition to match a table name against a standard information_schema. |
| DatabaseSchema::changeField | function | includes/ |
Change a field definition. |
| DatabaseSchema::createTable | function | includes/ |
Create a new table from a Drupal table definition. |
| DatabaseSchema::dropField | function | includes/ |
Drop a field. |
| DatabaseSchema::dropIndex | function | includes/ |
Drop an index. |
| DatabaseSchema::dropPrimaryKey | function | includes/ |
Drop the primary key. |
| DatabaseSchema::dropTable | function | includes/ |
Drop a table. |
| DatabaseSchema::dropUniqueKey | function | includes/ |
Drop a unique key. |
| DatabaseSchema::fieldExists | function | includes/ |
Check if a column exists in the given table. |
| DatabaseSchema::fieldNames | function | includes/ |
Return an array of field names from an array of key/index column specifiers. |
| DatabaseSchema::fieldSetDefault | function | includes/ |
Set the default value for a field. |
| DatabaseSchema::fieldSetNoDefault | function | includes/ |
Set a field to have no default value. |
| DatabaseSchema::findTables | function | includes/ |
Find all tables that are like the specified base table name. |
| DatabaseSchema::findTablesD8 | function | includes/ |
Finds all tables that are like the specified base table name. This is a backport of the change made to findTables in Drupal 8 to work with virtual, un-prefixed table names. The original function is retained for Backwards Compatibility. |
| DatabaseSchema::getFieldTypeMap | function | includes/ |
Returns a mapping of Drupal schema field names to DB-native field types. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.