API:FireDAC.Phys.MongoDBWrapper.TMongoCollection.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AEnv: TMongoEnv; AOwningObj: TObject; AHandle: Pmongoc_collection_t);

C++

__fastcall TMongoCollection(TMongoEnv* AEnv, System::TObject* AOwningObj, void * AHandle);

Properties

Type Visibility Source Unit Parent
constructor protected
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoCollection

Description

Creates a new object and assigns references to environment and owning objects.

FireDAC.Phys.MongoDBWrapper.TMongoCollection.Create inherits from FireDAC.Phys.MongoDBWrapper.TMongoObject.Create. All content below this line refers to FireDAC.Phys.MongoDBWrapper.TMongoObject.Create.

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.

See Also