Skip to content

[Feature Request] Add option to ignore duplicate keys for bulk inserting documents #4918

Description

@tobiasdam

ArcadeDBs SQL INSERT INTO ... CONTENT has the ability to insert multiple records by specifying an array of objects.

Unfortunately, the execution is stopped on any error as stated in the docs:

If multiple documents are inserted as JSON "CONTENT", and one document causes an error, for example due to a schema error, the remaining documents in the JSON array are not inserted.

Adding an option to ignore duplicate key errors (com.arcadedb.exception.DuplicatedKeyException) would come in handy as it reduces the requests that need to be sent to the server.

ArangoDB for instance has a similar option.

Alternative options I can think of:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions