Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Riddle: what does db_insert
return? Well, it might return InsertQuery. Or InsertQuery_pgsql. Or InsertQuery_entitybigint. There is no interface. That's the bug. Rinse and repeat for db_update, db_truncate, db_merge, the relevant methods.
Comments
Comment #1
joachim CreditAttribution: joachim commentedSee also #1479220: Add return documentation for Merge::execute().
Comment #8
volegerWe have now Query abstract class and base class hierarchy for base operations.