JamesS237/mongo-relation — pull request #10 by jonstorer (2014-05-02 16:57:17+00:00)
Title: setParent option to prevent adding child ids to parent documents in hasMany

setParent option allows a `hasMany` association to not save its child ids on itself.

- mongo-relation queries children by parent's id on child as a foreign key
- Mongoose populate on a Model will not populate children
- mongoose populate on a document will return an error