-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get it work with belongsToMany associations. #3
Comments
I've not tested with |
This is actually a fork from the original sails / waterline blueprints, and even waterline doesn't support through associations http://sailsjs.org/documentation/concepts/models-and-orm/associations/through-associations, so it will require a different implementation to support it. for now, i suggest you to create an additional model as an intermediary instead of using through association. |
Thanks. How would it be the relations? throughModel belongsTo ModelA with FK tableIdA and tableIdB. |
I set the through relation with
It creates the through model and if I do
POST /country/uuid/articles?attribute=Value...
populate the article table but not the through model
The text was updated successfully, but these errors were encountered: