Many to many relations & inferred model #2799
Unanswered
killjoy2013
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have user schema;
role schema;
userRole schema;
inferring user like this,
export type User = typeof users.$inferSelect;
the shape or User is
how to add roles array to
User
like this;shall I query user like this?
Beta Was this translation helpful? Give feedback.
All reactions