FireDAC.Phys.MongoDBWrapper.TMongoInsert.Create
Delphi
constructor Create(AEnv: TMongoEnv; AOwningObj: TObject; const ARunOper: TRunOper); overload;
constructor Create(AEnv: TMongoEnv); overload;
C++
__fastcall TMongoInsert(TMongoEnv* AEnv, System::TObject* AOwningObj, const _di_TRunOper ARunOper)/* overload */;
__fastcall TMongoInsert(TMongoEnv* AEnv)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoInsert |
Description
Create crée une instance de TMongoInsert.
Utilisez la signature qui accepte seulement un objet environnement MongoDB afin de créer des objets constructeur d'insertions que vous pouvez utiliser avec un style de codage normal.
N'utilisez pas la signature qui accepte une instance de TRunOper. TMongoCollection.Insert utilise cette signature de manière interne quand vous utilisez un style de codage fluent.