ArchiveImportMode
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
Controls how IStreamDataRepository.ImportRowsAsync(OctoObjectId, IAsyncEnumerable<IReadOnlyDictionary<String, Object>>, ArchiveImportMode, CancellationToken) writes imported archive rows. Archive data export/import concept (AB#4230) §7.
public enum ArchiveImportMode
Inheritance Object → ValueType → Enum → ArchiveImportMode
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| InsertOnly | 0 | Rows are inserted; a conflict on the natural key is a no-op update (the existing row's user-column values are preserved). Default for raw archives. |
| Upsert | 1 | Rows are upserted: a conflict on the natural key overwrites the existing user-column values with the imported ones (the same ON CONFLICT DO UPDATE path used by the windowed insert). Required for windowed (rollup / time-range) archives. |