Permalink
Browse files

updated example

  • Loading branch information...
1 parent b98d188 commit 8ce760c3d5100d684f7d542bd6c8679542aac255 @Raynos committed Jan 7, 2013
Showing with 10 additions and 9 deletions.
  1. +10 −9 README.md
View
@@ -22,7 +22,8 @@ var findOne = require("mongo-client/findOne")
var close = require("mongo-client/close")
var client = mongo("mongodb://localhost:27017/mongo-client-example")
-var collection = client(uuid())
+var collectionName = uuid()
+var collection = client(collectionName)
var insertResult = insert(collection, {
hello: "world"
@@ -46,14 +47,14 @@ fold(findResult, function (value) {
Supports
- - update DONE
- - insert DONE
- - remove DONE
- - findAndModify TODO
- - findAndRemove TODO
- - findOne DONE
- - find DONE
- - mapReduce DONE
+ - update
+ - insert
+ - remove
+ - findAndModify
+ - findAndRemove
+ - findOne
+ - find
+ - mapReduce
## Installation

0 comments on commit 8ce760c

Please sign in to comment.