Interface: MigrationOptions
Defined in: packages/agentos/src/rag/migration/types.ts:44
Options for a migration operation.
Properties
batchSize?
optionalbatchSize:number
Defined in: packages/agentos/src/rag/migration/types.ts:50
Rows per batch for streaming reads/writes.
Default
1000
dryRun?
optionaldryRun:boolean
Defined in: packages/agentos/src/rag/migration/types.ts:59
If true, counts rows but does not write to target.
Default
false
from
from:
BackendConfig
Defined in: packages/agentos/src/rag/migration/types.ts:46
Source backend configuration.
onProgress()?
optionalonProgress: (done,total,table) =>void
Defined in: packages/agentos/src/rag/migration/types.ts:57
Progress callback fired after each batch write.
Parameters
done
number
Number of rows written so far for the current table.
total
number
Total row count for the current table.
table
string
Name of the table currently being migrated.
Returns
void
to
to:
BackendConfig
Defined in: packages/agentos/src/rag/migration/types.ts:48
Target backend configuration.