Keep getting "cannot read properties of undefined (reading 'referencedTable') error
Hi folks,
I tried to use drizzle APIs to query two tables with one-to-many relationship and join them using
with
.
I looked out for other issues about that and checked if I had the correct relationships and schema setup. I have no broken config or relationship etc. You can see the relationships, my query and setup in the pictures.
Can anyone help me to figure it out?




0 Replies