Can someone explain how can I use .onConflictDoUpdate with array of values?
If where is conflict somewhere with some value in array how can I use values from that array as new value?
In documentation it shows how to handle that then setting one value but not array of values
but how about this
2 Replies
incase someone has same problem I fixed like this
excluded
= the current iteration?
The SET and WHERE clauses in ON CONFLICT DO UPDATE have access to the existing row using the table's name (or an alias), and to rows proposed for insertion using the special excluded tableTIL, thank you!