Permalink
Browse files

updated readme

  • Loading branch information...
1 parent cdc4fe7 commit f3d3064e8aa9fe0ca47cb68dd0cdfead0e0a2dda @aheckmann committed Jan 29, 2013
Showing with 16 additions and 6 deletions.
  1. +16 −6 README.md
View
@@ -46,12 +46,22 @@ gomon>
## API
-- `show.dbs`: list available databases
-- `show.collections`: list available collections in current database
-- `use[databaseName]`: switch databases
-- `exit`: exits the shell
-- `show.tables`: alias of `show.collections`
-- `db.collection.findOne(p)`: find a single document and print it
+- `show.dbs`: List available databases
+- `show.collections`: List available collections in current database
+- `show.tables`: Alias of `show.collections`
+- `use[databaseName]`: Switch databases
+- `exit`: Exits the shell
+- `db.close()`: Closes the database connection
+- `db.col()`: Accesses a collection
+- `db.cols()`: Retreives an array of collection names in the db
+- `db.createCol()`: Creates a collection
+- `db.drop()`: Drops the database
+- `db.help()`: Logs help text for all db methods
+- `db.inspect()`: Returns the name of the database
+- `db.open()`: Opens the database connection
+- `db.runCommand()`: Runs a command on the database
+- `db.use()`: Changes to a different database
+- `db.collection.findOne()`: Find a single document
More to come.

0 comments on commit f3d3064

Please sign in to comment.