Skip to content

Commit

Permalink
collection should be collecitons in config
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed May 16, 2012
1 parent 126220c commit 6e87f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Mongojs can also connect to a mongo replication set
``` js
var db = require('mongojs').connect({
db: 'mydb', // the name of our database
collection: ['mycollection'], // we can pass the collections here also
collections: ['mycollection'], // we can pass the collections here also
replSet: {
name: 'myReplSetName', // the name of the replication set
slaveOk: true, // is it to read from secondary? defaults to false
Expand Down

0 comments on commit 6e87f2f

Please sign in to comment.