Docs Home → MongoDB Manual
On this page
Allows read operations on secondary members for the MongoDB
Also means that eventually consistent
read operations are acceptable for the current application. See
readPref() for additional
fine-grained settings for the read preference.
This example calls setSecondaryOk():