Optional
complete?: booleanIf set to true
, the import will abort if any error occurs.
Optional
details?: booleanWhether the response should contain additional details about documents that could not be imported.
Optional
from(Edge collections only.) Prefix to prepend to _from
attribute values.
Optional
onControls behavior when a unique constraint is violated on the document key.
"error"
: the document will not be imported."update
: the document will be merged into the existing document."replace"
: the document will replace the existing document."ignore"
: the document will not be imported and the unique constraint
error will be ignored.Default: "error"
Optional
overwrite?: booleanIf set to true
, the collection is truncated before the data is imported.
Default: false
Optional
to(Edge collections only.) Prefix to prepend to _to
attribute values.
Optional
waitWhether to wait for the documents to have been synced to disk.
Generated using TypeDoc
Options for bulk importing documents into a collection.