drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
21.57k stars 490 forks source link

[FEATURE]: onConflictDoUpdate() empty argument overload #2359

Open jackschedel opened 1 month ago

jackschedel commented 1 month ago

Describe what you want

If a user does onConflictDoUpdate() with no arguments, it should default to updating all columns, with the target being the primary key.