FireDAC.Phys.MongoDBWrapper.TMongoWriteConcern.Majority
Delphi
property Majority: Integer read GetMajority write SetMajority;
C++
__property int Majority = {read=GetMajority, write=SetMajority, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoWriteConcern |
Description
Gets or sets a timeout (in msecs) for changes to propagate accross all the nodes in the replica set before considering the write request failed.
Setting this property to a non-zero value sets the TMongoWriteConcern.Level property to Majority
.