Conversion of sql query into mongoDB query language

190 Views Asked by At

I am having a query in sql i.e "select ServiceName,count(_id) from cases groupby ServiceName,_id;"

I want to covert it into mongoDB query language. please help.

1

There are 1 best solutions below

0
Abhishek Pathak On BEST ANSWER

The best way would be to get familiar with mongodb docs, particularly the sql to mongo mapping chart.

If you are just looking for a one-time quick-and-dirty solution though, check out querymongo.