FireDAC.Phys.MongoDBWrapper.TMongoReadPreference
Delphi
TMongoReadPreference = class(TMongoObject)
C++
class PASCALIMPLEMENTATION TMongoReadPreference : public TMongoObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | FireDAC.Phys.MongoDBWrapper |
Description
Encapsulates the MongoDB mongoc_read_prefs_t structure and represents MongoDB API read preferences.
Read preferences describe how MongoDB clients route read operations to the members of a replica set. All other MongoDB API wrapping classes provide an access to objects that represent default read preferences.
For more information, see MongoDB documentation.