buunguyen / mongoose-deep-populate

Mongoose plugin to enable deep population of nested models ⛺
MIT License
469 stars 44 forks source link

How to search the results using query #38

Closed EliArad closed 8 years ago

EliArad commented 8 years ago

i managed to deeppopulate and get the entire path (tree) is it possible to do find on the path result or it should be done on the results?

and what do you recommend for the search instead of using forEach and if compare statements. for example a sql like on the results or something else. Thanks,

buunguyen commented 8 years ago

Duplicate https://github.com/buunguyen/mongoose-deep-populate/issues/39