0

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.

2
  • please show part of your previous attempt or research... Commented Sep 25, 2014 at 9:48
  • I didn't get you @kiyarash. Actually i am integrating mongoDB with jasper i-report.So as per my requirement of bar graph i need to execute the above query in mongoDB query language. Commented Sep 25, 2014 at 10:08

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.