manishankar
manishankar

Reputation: 35

Conversion of sql query into mongoDB query language

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.

Upvotes: 0

Views: 193

Answers (1)

Abhishek Pathak
Abhishek Pathak

Reputation: 1569

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.

Upvotes: 1

Related Questions