Search for all
Title | Object type | File name | Summary |
---|---|---|---|
DatabaseLog | class | includes/ |
Database query logger. |
DatabaseLog::$connectionKey | property | includes/ |
The connection key for which this object is logging. |
DatabaseLog::$queryLog | property | includes/ |
Cache of logged queries. This will only be used if the query logger is enabled. |
DatabaseLog::clear | function | includes/ |
Empty the query log for the specified logging key. |
DatabaseLog::end | function | includes/ |
Stop logging for the specified logging key. |
DatabaseLog::findCaller | function | includes/ |
Determine the routine that called this query. |
DatabaseLog::get | function | includes/ |
Retrieve the query log for the specified logging key so far. |
DatabaseLog::log | function | includes/ |
Log a query to all active logging keys. |
DatabaseLog::start | function | includes/ |
Begin logging queries to the specified connection and logging key. |
DatabaseLog::__construct | function | includes/ |
Constructor. |
DatabaseLoggingTestCase | class | modules/ |
Query logging tests. |
DatabaseLoggingTestCase::getInfo | function | modules/ |
|
DatabaseLoggingTestCase::testEnableLogging | function | modules/ |
Test that we can log the existence of a query. |
DatabaseLoggingTestCase::testEnableMultiConnectionLogging | function | modules/ |
Test that we can log queries separately on different connections. |
DatabaseLoggingTestCase::testEnableMultiLogging | function | modules/ |
Test that we can run two logs in parallel. |
DatabaseLoggingTestCase::testEnableTargetLogging | function | modules/ |
Test that we can log queries against multiple targets on the same connection. |
DatabaseLoggingTestCase::testEnableTargetLoggingNoTarget | function | modules/ |
Test that logs to separate targets collapse to the same connection properly. |
DatabaseMergeTestCase | class | modules/ |
Test the MERGE query builder. |
DatabaseMergeTestCase::getInfo | function | modules/ |
|
DatabaseMergeTestCase::testInvalidMerge | function | modules/ |
Test that an invalid merge query throws an exception like it is supposed to. |
DatabaseMergeTestCase::testMergeInsert | function | modules/ |
Confirm that we can merge-insert a record successfully. |
DatabaseMergeTestCase::testMergeInsertWithoutUpdate | function | modules/ |
Test that we can merge-insert without any update fields. |
DatabaseMergeTestCase::testMergeUpdate | function | modules/ |
Confirm that we can merge-update a record successfully. |
DatabaseMergeTestCase::testMergeUpdateExcept | function | modules/ |
Confirm that we can merge-update a record successfully, with different insert and update. |
DatabaseMergeTestCase::testMergeUpdateExplicit | function | modules/ |
Confirm that we can merge-update a record successfully, with alternate replacement. |
DatabaseMergeTestCase::testMergeUpdateExpression | function | modules/ |
Confirm that we can merge-update a record successfully, with expressions. |
DatabaseMergeTestCase::testMergeUpdateWithoutUpdate | function | modules/ |
Confirm that we can merge-update without any update fields. |
DatabaseNextIdCase | class | modules/ |
Check the sequences API. |
DatabaseNextIdCase::getInfo | function | modules/ |
|
DatabaseNextIdCase::testDbNextId | function | modules/ |
Test that the sequences API work. |
DatabaseQueryTestCase | class | modules/ |
Drupal-specific SQL syntax tests. |
DatabaseQueryTestCase::getInfo | function | modules/ |
|
DatabaseQueryTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
DatabaseQueryTestCase::testArrayArgumentsSQLInjection | function | modules/ |
Test SQL injection via database query array arguments. |
DatabaseQueryTestCase::testArraySubstitution | function | modules/ |
Test that we can specify an array of values in the query by simply passing in an array. |
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/ |
Pagination
- Previous page
- Page 35
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.