pub struct AllTablesOptions {
pub include: Vec<String>,
pub exclude: Vec<String>,
pub if_exists: IfExists,
pub atomic: bool,
pub batch_size: usize,
pub bulk_mode: BulkMode,
pub copy_format: CopyFormat,
pub verbose: bool,
pub create_table: bool,
pub preserve_pk: bool,
pub conflict_key: Vec<String>,
pub no_fk_check: bool,
}Expand description
Options for copy_all_tables.
Patterns use simple shell-style globs (*, ?); matching is
case-sensitive against the identifier shape the source returns
(Oracle uppercases unquoted identifiers). Tables are included when
they match at least one --include (or the include list is
empty) and match no --exclude.
Fields§
§include: Vec<String>Repeatable include patterns. Empty = include everything.
exclude: Vec<String>Repeatable exclude patterns. Always applied after include.
if_exists: IfExistsCarry through to the per-table CopyOptions. Per-table
source and create_table are derived inside this module.
atomic: bool§batch_size: usize§bulk_mode: BulkMode§copy_format: CopyFormat§verbose: bool§create_table: bool§preserve_pk: boolPreserve the source PK in emitted DDL (per-table lookup) when
combined with create_table. See
CopyOptions::preserve_pk.
conflict_key: Vec<String>User-supplied conflict-key columns applied to every table.
Use sparingly with --all-tables — a single column list rarely
makes sense across many tables. Empty = per-table PK detection.
no_fk_check: boolIf true, ignore cycle errors from topo_sort and copy in a
deterministic-but-arbitrary order. The user must understand
FK violations may surface as driver errors on first insert.