ImportDocumentsOnDuplicate Enumeration |
Enum representing possible actions to carry out
in case of a unique key constraint violation.
Namespace:
ArangoDBNetStandard.BulkOperationsApi.Models
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public enum ImportDocumentsOnDuplicate
Public Enumeration ImportDocumentsOnDuplicate
public enum class ImportDocumentsOnDuplicate
type ImportDocumentsOnDuplicate
Members
| Member name | Value | Description |
---|
| Error | 0 |
Will not import the current document
because of the unique key constraint
violation. This is the default setting.
|
| Update | 1 |
Will update an existing document in the
database with the data specified in the
request. Attributes of the existing
document that are not present in the
request will be preserved.
|
| Replace | 2 |
Will replace an existing document in the
database with the data specified in the
request.
|
| Ignore | 3 |
Will not update an existing document and
simply ignore the error caused by the
unique key constraint violation.
|
See Also