Date: 2018-03-19
This tutorial explains MongoDB's readPref() method, which controls how a client directs queries to members of a replica set. The method is used with cursor objects to specify read preferences. The tutorial provides examples using t...