Drupal 8 8.0.2
|Public Member Functions inherited from DatabaseTestBase|
|Static Public Member Functions inherited from DatabaseTestBase|
|Static Public Attributes inherited from DatabaseTestBase|
|static||$modules = array('database_test')|
|Protected Member Functions inherited from DatabaseTestBase|
Tests delete and truncate queries.
The DELETE tests are not as extensive, as all of the interesting code for DELETE queries is in the conditional which is identical to the UPDATE and SELECT conditional handling.
The TRUNCATE tests are not extensive either, because the behavior of TRUNCATE queries is not consistent across database engines. We only test that a TRUNCATE query actually deletes all rows from the target table.