Custom Logic in Upsert/Insert on conflict
Hey everyone!
I'm looking for ideas on how the following could be implemented using drizzle:
I need to check whether the inserted data differs to the existing data by comparing them using
Appreciate any suggestion with how that could be done using
I'm looking for ideas on how the following could be implemented using drizzle:
I need to check whether the inserted data differs to the existing data by comparing them using
IS DISTINCT FROM.Appreciate any suggestion with how that could be done using
insert().values().onConflictDoUpdate() that drizzle provides. Thanks!