skip to Main Content

Mongodb – Mongo ranking results

I have a collection like db.books.insertMany([ {"products" : [{"name": "name1", "ids": [4, 5, 6]}], "author" : "Dante", "shelf": "a" }, { "products" : [{"name": "name1", "ids": [4, 5]}], "author" : "Homer", "shelf": "a" }, { "products" : [{"name": "name1", "ids":…

VIEW QUESTION
Back To Top
Search