FireDAC.Phys.MongoDBWrapper.TMongoCollection.TInsertFlag
Delphi
TInsertFlag = (ContinueOnError, NoValidate);
C++
enum class DECLSPEC_DENUM TInsertFlag : unsigned int { ContinueOnError, NoValidate };
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 TInsertFlags set that you can pass to insert operations.
Possible values are:
Value | Description |
---|---|
|
Continue inserting documents during a bulk operation even if one or more insertions fail. |
|
Do not validate documents before inserting them. The validation process can be expensive, skipping it can save you some time. Use this flag to skip the validation process when you already know that the documents that you insert are valid. |