FireDAC.Phys.MongoDBWrapper.TMongoObject.Create
Delphi
constructor Create(AEnv: TMongoEnv; AOwningObj: TObject); overload;
constructor Create(AEnv: TMongoEnv; AOwningObj: TObject; AHandle: Pmongoc_handle_t); overload;
C++
__fastcall TMongoObject(TMongoEnv* AEnv, System::TObject* AOwningObj)/* overload */;
__fastcall TMongoObject(TMongoEnv* AEnv, System::TObject* AOwningObj, void * AHandle)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | protected | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoObject |
Description
Creates a new object and assigns references to environment and owning objects.
The TMongoObject.Create method is overloaded:
- The first overloaded method creates a new object and assigns references to the environment and owning objects.
- The second overloaded method creates a new object, assigns references to the environment and owning objects, and sets the MongoDB API handle to be owned by this object.