drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Ability to use locks on drizzle queries
Open
enhancement
rqb
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
### Describe the enhancement you want to request
Currently you can use the `for` method on a query builder to lock a row for update or for share. However, when using the drizzle query API via `db.query.` there is no for method on the returned PgRelationalQuery. So this enhancement request is for locking support to be added to PgRelationalQuerys. Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.