A way to use the update function with existing value in row?
How do I do the following SQL
UPDATE counts SET count = count + 1 WHERE id = 1
but with drizzle orm, such as
await db.update(counts).set({
count: current_count + 1,
});
is that even possible or is raw sql my only option?2 Replies
You probably want
I'll try that