Browse Source

Merge branch 'master' of https://github.com/gett/mongojs

saintedlama/travis-non-legacy
Mathias Buus 13 years ago
parent
commit
44fc21877c
  1. 2
      README.md

2
README.md

@ -73,7 +73,7 @@ var db = require('mongojs').connect({
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
slaveOk: true, // is it ok to read from secondary? defaults to false
members: ['myserver:myport', 'myotherserver', 'mythirdserver']
}
});

Loading…
Cancel
Save