Browse and delete records in mongodb

show dbs; use mydb; show collections; db.mycoll.find().pretty(); // remove all records db.mycoll.remove();
show dbs; use mydb; show collections; db.mycoll.find().pretty(); // remove all records db.mycoll.remove();