FireDAC.Phys.MongoDBWrapper.TMongoQuery.TOptions.MaxScan

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also