Backbone-relational icon indicating copy to clipboard operation
Backbone-relational copied to clipboard

has may through feature

Open chollier opened this issue 11 years ago • 0 comments

I'd really be awesome to able to have a has_many through feature enabling many-to-many relationships

Example : My user would have many push_notifications, through push_notification_recipients

Then I could do user.get('push_notifications') which would look in a joint model like {id: a, user_id: b, push_notification_id: c} and return

chollier avatar Jul 17 '13 20:07 chollier