bulk_update() support for unique fields instead of only primary key

2022-06-06 Thread Ebram Shehata
I've already created a ticket that ended up with 'WONTFIX' here . Please read it first. The scenario that led me trying to add that feature: Well, I'v a model that has a primary key and unique field... Every X period of time I've a cron that calls an

Re: bulk_update() support for unique fields instead of only primary key

2022-06-07 Thread Ebram Shehata
ome > internals). > > Cheers, > jerch > > NB: Btw fetching proper pks upfront from some other unique field is > typically very cheap compared to bulk_update runtime itself, given you > have indexed those columns. > > > Am 07.06.22 um 02:15 schrieb Ebram Shehata: &

Re: bulk_update() support for unique fields instead of only primary key

2022-06-19 Thread Ebram Shehata
Ah, I see. Thank you for explaining the thing and linking the code. It looks more interesting now! I'm interested to start working on it. I'll wait for approval from other people, too. On Wednesday, June 8, 2022 at 2:17:32 PM UTC+2 j.bre...@netzkolchose.de wrote: > > > How can it be complicated