You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm building a simple todo app to study drizzle ORM and I'm having issues with the
with
operator.I have two tables,
lists
andtodos
. A list can have multiple todos but not the other way around.Here is the query (I'm using NextJS server actions)
Although the relations seem to be set up, when I console.log
allLists
I get this:screenshot of my drizzle studio:
I have no idea what I'm doing wrong. I'd really appreciate the help 🙏
Beta Was this translation helpful? Give feedback.
All reactions