drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: separate fields for include/exclude columns
- 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
https://orm.drizzle.team/docs/rqb
Currently columns can be included/excluded from queries by specifying a boolean
the thing is that you always want to specify all true or all false, never a mix of both
so shouldn't specifying columns be done through something like "includeColumns: ["one", "two"]" or "excludeColumns"?
a type union could be generated to properly type the array of column names
currently manually typing all "true" or all "false" feels very redundant
Contributor guide
Assessment
This issue has not been assessed yet.