tags:

views:

26

answers:

0

Is it possible to use the Java MongoDB driver to run queries in the same syntax as MongoDB shell from Java code? Something like, for example,

DBCursor cursor = mongo.runQuery("db.things.find();");