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
It's driving me mad.
I got two simple tables (users and groups) which has a ManyToManyRelation relation.
How can i do an insert?
How must the app.service('/users').create({...}) and app.service('/groups').create({...}) look like, that can insert a new user with a new group??? (The group table has only one item "name")
This is my relationMappings (the other one is similar, but id's are swapped):
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
-
It's driving me mad.
I got two simple tables (users and groups) which has a ManyToManyRelation relation.
How can i do an insert?
How must the
app.service('/users').create({...})
andapp.service('/groups').create({...})
look like, that can insert a new user with a new group??? (The group table has only one item "name")This is my relationMappings (the other one is similar, but id's are swapped):
Appreciating really any help!
Beta Was this translation helpful? Give feedback.
All reactions