mongodb-read-preference

1.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i mongodb-read-preference

Weekly Downloads

5

Version

1.0.6

License

Apache-2.0

Last publish

Collaborators

  • orechova
  • himanshusinghs
  • c-buckingham
  • mongo-j
  • mabaasit
  • alexander_schroll
  • chuck.kalmanek
  • mongodb-js-user
  • rueckstiess
  • durran
  • lerouxb
  • fredtruman
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • rhysm
  • tomhollander
  • alena.khineika
  • jeff-allen-mongo
  • mmarcon
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • stennie
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish
  • imlucas