Hairulnizam
Posts: 0
Joined: Tue Dec 30, 2014 7:31 am

How to find cheapest price from collection

Hello there. i'm quite new with this and i hope u can help me with my problem.

Image

This is my collection. Now i want to create a search menu where i can select let say product milk and coke and then it' will sum up the price according to the market and then show which market have the cheapest price for the selected product.

i can do it with mysql, but i have no idea how to do it with mongodb.

thanks!

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to find cheapest price from collection

Hello Hairulnizam,

Please look at this link, hope it'll be useful for you:
http://devcenter.appery.io/documentat...

Return to “Issues”