© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago
sevenwestonroads

Bulk update in Postgres w/ Drizzle ?

I'm using PSQL and would really like if Drizzle supported bulk updates out-of-the-box.

I've looked at the docs - but the only option I've seen is an
UPSERT
UPSERT
(ie. insert w/
onConflictDoUpdate
onConflictDoUpdate
) statement which I'm not fan of for this use case.

I'd really like to be able to do a
.update(table).set(arrayOfObjects)
.update(table).set(arrayOfObjects)
! But it looks like it's not supported.

I'm thinking about doing an
UPDATE FROM
UPDATE FROM
statement for PSQL leveraging
sql
sql
from Drizzle but can't make it work somehow.

Any idea ?

Thank you !
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

@vercel/postgres & drizzle update?
Drizzle TeamDTDrizzle Team / help
3y ago
Setting drizzle with Postgres in nexjts
Drizzle TeamDTDrizzle Team / help
14mo ago
Supabase branching w/ Drizzle?
Drizzle TeamDTDrizzle Team / help
2y ago
Using Drizzle w/ Postgrest
Drizzle TeamDTDrizzle Team / help
2y ago