FireDAC.Phys.MongoDBWrapper.TMongoCollection.TUpdateFlag
Delphi
TUpdateFlag = (Upsert, MultiUpdate);
C++
enum class DECLSPEC_DENUM TUpdateFlag : unsigned int { Upsert, MultiUpdate };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoCollection |
Description
Enumerated type of flags that you can add to a TUpdateFlags set that you can pass to update operations.
Possible values are:
Value | Description |
---|---|
|
Update all documents that match the specified query. If you do not pass this flag to an update operation, it only affects the first document that matches the specified query. |
|
Create a new document when the specified query does not match an existing document. |