Files
openfoodnetwork/app/models
Matt-Yorkley b139087c5f Clone ExchangeVariant objects in bulk
An ExchangeVariant is a simple representation of a join table between Exchange and Variant. Previously this code was triggering an additional INSERT query for every variant added to the newly cloned exchange. Some exchanges have ~3000 variants! The code now creates them in bulk in a single INSERT statement. When cloning large order cycles this can improve performance by ~1000% or so.
2023-05-11 20:51:20 +01:00
..
2012-03-27 10:10:26 +11:00
2021-12-10 18:18:20 +00:00
2023-03-28 13:39:29 +11:00