dew
dew
DTDrizzle Team
Created by dew on 8/14/2023 in #help
Nested one to one relation shows [x:string]: never
I tried using the relational query similar to the example
const users = await db.query.users.findMany({
with: {
posts: {
with: {
comments: true,
},
},
},
});
const users = await db.query.users.findMany({
with: {
posts: {
with: {
comments: true,
},
},
},
});
however, when i try to access the result, eg. users.posts.comments, the type is missing & only shows [x:string]: never
3 replies