FireDAC.Phys.MongoDBWrapper.TMongoUpdate.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AEnv: TMongoEnv; AOwningObj: TObject; ARunUpdate: TRunUpdate); overload;
constructor Create(AEnv: TMongoEnv); overload;

C++

__fastcall TMongoUpdate(TMongoEnv* AEnv, System::TObject* AOwningObj, _di_TRunUpdate ARunUpdate)/* overload */;
__fastcall TMongoUpdate(TMongoEnv* AEnv)/* overload */;

Properties

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

Description

Creates an instance of TMongoUpdate.

Use the signature that only accepts a MongoDB environment object to create update builder objects that you can use with a regular coding style.

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

See Also