Getting typescript error when using where clause inside with in query API.
Hi,
I need help in resolving the below mentioned typescript error
on where clause inside assessment of this query
I saw the part of documentation where it says that it's possible to use where inside query API
https://orm.drizzle.team/docs/rqb#select-filters
I am using the following versions:
drizzle: ^0.43.1
drizzle-kit: ^0.31.1
typescript: ^5.8.3
Drizzle ORM - Query
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
4 Replies
I believe RQB v1 does not support nested
where
. However, RQB v2 beta does appear to support it.
Beta docs: https://rqbv2.drizzle-orm-fe.pages.dev/
Beta discussion: #rqb-v2Drizzle ORM - next gen TypeScript ORM.
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
If that's the case, then does it mean docs should be corrected. Because I am using latest version of drizzle and the piece of information is presented in stable version docs
GitHub
Add nested filters for relational queries · drizzle-team drizzle-o...
I would like to create queries that filter by single values from a nested partial fields select. Imagine we have a users table with a one-to-one relation to a profile. The profiles table has a like...
this also made me quite frustrated since i believed this was in the stable version since i was the reading the "official latest docs"