Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated example

  • Loading branch information...
commit 8ce760c3d5100d684f7d542bd6c8679542aac255 1 parent b98d188
Raynos (Jake Verbaten) authored

Showing 1 changed file with 10 additions and 9 deletions. Show diff stats Hide diff stats

  1. 19  README.md
19  README.md
Source Rendered
@@ -22,7 +22,8 @@ var findOne = require("mongo-client/findOne")
22 22
 var close = require("mongo-client/close")
23 23
 
24 24
 var client = mongo("mongodb://localhost:27017/mongo-client-example")
25  
-var collection = client(uuid())
  25
+var collectionName = uuid()
  26
+var collection = client(collectionName)
26 27
 
27 28
 var insertResult = insert(collection, {
28 29
     hello: "world"
@@ -46,14 +47,14 @@ fold(findResult, function (value) {
46 47
 
47 48
 Supports
48 49
 
49  
- - update DONE
50  
- - insert DONE
51  
- - remove DONE
52  
- - findAndModify TODO
53  
- - findAndRemove TODO
54  
- - findOne DONE
55  
- - find DONE
56  
- - mapReduce DONE
  50
+ - update
  51
+ - insert
  52
+ - remove
  53
+ - findAndModify
  54
+ - findAndRemove
  55
+ - findOne
  56
+ - find
  57
+ - mapReduce
57 58
 
58 59
 ## Installation
59 60
 

0 notes on commit 8ce760c

Please sign in to comment.
Something went wrong with that request. Please try again.