Beginners walkthrough: MongoDB and Java
atish
143
Great job Atish.
Its really great to have full basic tutorial of ManogoDB in sibgle page with simple explanation.
To fetch record we can also use DBCursor
DBCursor cursor = coll.find();
while (cursor.hasNext()) {
System.out.println(cursor.next());
}