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.
commerce_addressbook_set_default_profile() is a perfect example of where a merge query could be used instead of running a select followed by an update or an insert.
Comment | File | Size | Author |
---|---|---|---|
#1 | set-default-merge-query-1509006-1.patch | 1.25 KB | BassistJimmyJam |
Comments
Comment #1
BassistJimmyJam CreditAttribution: BassistJimmyJam commentedPatch attached.
Comment #2
bojanz CreditAttribution: bojanz commentedGood catch, committed.