4strid/nekodb

Reference lookup

Opened this issue · 0 comments

Allow queries to be constructed using references as if they were embedded documents:

If a BlogPost Model contains a field that references the Author Model, should be able to do something like

BlogPost.find({'author.name': 'Peter'})