drizzle-team / drizzle-team/drizzle-orm
[BUG]: Incorrect type when using a condition in relational query
Open
bug
priority
rqb
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### What version of `drizzle-orm` are you using?
0.27.0
### What version of `drizzle-kit` are you using?
0.19.1
### Describe the Bug
**The type from this query:**

**should be:**
**But instead, it's this:**
### Expected behavior
_No response_
### Environment & setup
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.