spiral-project / daybed

Form validation and data storage API
http://daybed.rtfd.org/
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

Reverse relation fields #223

Open leplatrem opened 9 years ago

leplatrem commented 9 years ago

If for example, I define a model Rating with field oneof towards model Movie, I would like to be able to reverse the relation, and obtain all ratings records of a movie :

/models/movie/records/38/ratings

In this view, we should :

Could be similar with anyof :)