FireDAC.Phys.MongoDBWrapper.TMongoUpdate

From Appmethod Libraries
Jump to: navigation, search

System.TObjectTMongoUpdate

Object Pascal

TMongoUpdate = class(TObject)

C++

class PASCALIMPLEMENTATION TMongoUpdate : public System::TObject

Properties

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

Description

Builder for a MongoDB update operation.

You must use TMongoUpdate in combination with TMongoCollection.Update. To work with these members, you can use two different coding styles.

Use Match to define the selection criteria of the selection document.
Use Modify to define the changes to apply of the modification document.

If you use a fluent coding style, use Exec to execute the update operation.

See Also