A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mongodb.github.io/node-mongodb-native/2.2/api/ReadPreference.html below:

Class: ReadPreference

Class: ReadPreference

Creates a new ReadPreference instance

Read Preferences

Name Type Description mode string

The ReadPreference mode as listed above.

tags array | object

An object representing read preference tags.

options object optional

Additional read preference options

Name Type Description maxStalenessSeconds number optional

Max Secondary Read Staleness in Seconds

Returns: ReadPreference instance.
Methods
staticReadPreference.isValid(mode){boolean}

Validate if a mode is legal

Name Type Description mode string

The string representing the read preference mode.

Validate if a mode is legal

Name Type Description mode string

The string representing the read preference mode.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4