mongodb-read-preference
MongoDB Read Preferences.
Last updated 5 years ago by machyne .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mongodb-read-preference 
SYNC missed versions from official npm registry.

mongodb-read-preference

MongoDB Read Preferences.

Example

var ReadPreference = require('mongodb-read-preference');
console.log(ReadPreference.primary.slaveOk());
>>> false
console.log(ReadPreference.secondary.slaveOk());
>>> true

License

Apache 2

Current Tags

  • 1.0.6                                ...           latest (5 years ago)

7 Versions

  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |