Skip to main content

ArchiveImportMode

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Import mode for archive row data. Mirrors the asset-repo ImportMode and is serialized as a string on the wire (e.g. ?mode=Upsert). Archive data export/import concept (AB#4230) §4.1 / §7.

public enum ArchiveImportMode

Inheritance ObjectValueTypeEnumArchiveImportMode
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
InsertOnly0Only inserts rows; conflicts on the natural key are an error. Default for raw archives.
Upsert1Inserts or updates rows on natural-key conflict (ON CONFLICT upsert). Required for windowed (time-range / rollup) archives.