FireDAC.Phys.MongoDBWrapper.TMongoQuery.TOptions.MaxScan
Delphi
property MaxScan: Integer read FMaxScan write FMaxScan default 0;
C++
__property int MaxScan = {read=FMaxScan, write=FMaxScan, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TOptions |
Description
Limits the number of documents to scan.
Use this property to prevent potentially long running queries from disrupting performance by scanning through too much data. For more information, see MongoDB documentation.