-
Jorge Manrubia authored
#41933 added a new `on_duplicate:` option to `upsert_all`, to allow providing custom SQL update code. This change makes `on_duplicate` admit an array of columns too, so that `upsert_all` only updates those columns when a conflict happens. This allows limiting the list of updated column in a database-agnostic way.
Jorge Manrubia authored#41933 added a new `on_duplicate:` option to `upsert_all`, to allow providing custom SQL update code. This change makes `on_duplicate` admit an array of columns too, so that `upsert_all` only updates those columns when a conflict happens. This allows limiting the list of updated column in a database-agnostic way.
Loading