If I have 2 collection:
product
and category
product have ref on category...
How can query products by category?
I need something like this:
Product.find({category.name: "testCat"}, function() {
...
})
Any solution for this?
via Vladimir Djukic
No comments:
Post a Comment