findMany not including right table details in query
the question details exceeded the post word limit
github discussion link
https://github.com/drizzle-team/drizzle-orm/discussions/2702
https://github.com/drizzle-team/drizzle-orm/discussions/2702
GitHub
findMany not including right table details in query · drizzle-team ...
here is the schema definition export const authorsTable = sqliteTable('authors', {<columns>...}) export const booksTable = sqliteTable('books', {<columns>...}) export co...
2 Replies
👋 in chapters and books, you also need to use
with
@Raphaël M (@rphlmr) ⚡ thanks for your reply
when I use
with
nested, I get an error
and
i changed it a little and this one gives the expected result
thanks @Raphaël M (@rphlmr) ⚡ ✨