Skip to main content

Module legacy

Module legacy 

Source
Expand description

Read-only, repeatable migration into a separate p-memory directory.

Structs§

IdMapping
来源 ID 与内部自增 ID 的映射;内部主键与外部 ID 无关,只在导入时关联。
ImportReport
ImportRequest

Enums§

LegacySource

Functions§

delete_import_run
从导入台账里删掉一条来源记录,让同一个来源能在同一目录上重新导入。 只删台账,不碰该来源已经导进去的数据;返回是否命中。
import_legacy
Dry run validates in an in-memory database without creating the destination. Applying requires an empty directory. Repeating an identical import returns its receipt; changed sources never overwrite data previously imported.