Thursday, May 27, 2010

mongodb command line basics

The best command line references i can find are:
http://www.mongodb.org/display/DOCS/DBA+Operations+from+the+Shell
http://www.mongodb.org/display/DOCS/Querying

A command line session for me normally starts something like this:
>show dbs
admin
local
test
>use test
>show collections
users
things
>db.things.find()

1 comment: