How should locks be done with drizzle?
Table or row locks in postgres. How can
select for update
be done in drizzle?4 Replies
it's not documented iirc but there is a
.for(strength: LockStrength)
query builder methodGitHub
drizzle-orm/drizzle-orm/src/pg-core/query-builders/select.ts at mai...
Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅 - drizzle-team/drizzle-orm
not sure why this isn't in the select docs
thanks