FireDAC.Phys.MongoDBWrapper.TMongoSelector.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AEnv: TMongoEnv; AOwningObj: TObject; ARunOper: TRunOper); overload;
constructor Create(AEnv: TMongoEnv); overload;

C++

__fastcall TMongoSelector(TMongoEnv* AEnv, System::TObject* AOwningObj, _di_TRunOper ARunOper)/* overload */;
__fastcall TMongoSelector(TMongoEnv* AEnv)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoSelector

Description

Creates an instance of TMongoSelector.

Use the signature that only accepts a MongoDB environment object to create insert builder objects that you can pass to TMongoDatabase.ListCollections, or to TMongoCollection.Remove if you use a regular coding style.

Do not use the signature that accepts an instance of TRunOper. TMongoCollection.Remove uses this signature internally when you use a fluent coding style.

See Also