JDBC Driver for MongoDB

Build 22.0.8462

SlaveOK

This property sets whether the provider is allowed to read from secondary (slave) servers.

Data Type

bool

Default Value

false

Remarks

This property sets whether the driver is allowed to read from secondary (slave) servers in a replica set. You can fine-tune how the driver queries secondary servers with ReadPreference.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462