Querying and typing a many to many relationship?
So I'm enjoying using drizzle, but querying a many to many relationship seems a bit verbose, which makes me think I'm doing it wrong. It's also making using
drizzle-zod a bit confusing:
So I've set up my tables, user and profile
I'm then not sure how to extend the User schema with its usersToProfiles and its Profiles:
0 Replies