How to get another linked tables count?
I am new to Drizzle ORM and I wanted to get another tables data in my api.
This is my api
I have another table called emails, where the collection tables id is the primary key in the email table with a column called collectionId, how do I get the
emails
tables count linked to this specific collection?
CC: @alexblokh @Andrew Sherman0 Replies