tc / RMongo

R client to interface with MongoDB
102 stars 34 forks source link

Force reads to a secondary #40

Open alanConq opened 8 years ago

alanConq commented 8 years ago

I have a MongoDB replica set with one master and two slaves. I am looking for a way that forces reads to a secondary with the options « secondary » or « secondaryPreferred ». Is it possible with this package ?