FireDAC.Phys.MongoDBWrapper.TMongoWriteConcern.Majority

From RAD Studio API Documentation
Jump to: navigation, search

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.


See Also