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
hi!
I have the tables users, contacts, permissions, roles, users_roles and roles_permissions.
A user have exactly one contact.
A user can have many roles.
A role can have many permissions.
This is the raw SQL that I am using to get the users, its contact data and all permissions of the user:
hi!
I have the tables users, contacts, permissions, roles, users_roles and roles_permissions.
A user have exactly one contact.
A user can have many roles.
A role can have many permissions.
This is the raw SQL that I am using to get the users, its contact data and all permissions of the user:
can someone please help me to express this with objection.js?
thanks!
The text was updated successfully, but these errors were encountered: