MongoDB request DSL • opensavvy.ktmongo.dsl.options • ReadPreference • Primary
Primary¶
The query is sent to the primary node in the replica set.
If the primary node is not available, the query throws an exception.
This is the default option.
MongoDB request DSL • opensavvy.ktmongo.dsl.options • ReadPreference • Primary
The query is sent to the primary node in the replica set.
If the primary node is not available, the query throws an exception.
This is the default option.
bsonName
¶name
¶ordinal
¶