ORM relation `where` does not exist in type
Can someone help me understand if I'm doing something wrong? The following code (adapted from Query/Select filters gives a 'does not exist' error on
If schema matters, I have a
I should note that the query works, so maybe it's lacking proper types?
where:Object literal may only specify known properties, and 'where' does not exist in type..
If schema matters, I have a
user table, a collection table with fk (userId) and a item table with fk (collectionId).I should note that the query works, so maybe it's lacking proper types?