Skip to main content

overrides_for_table

Function overrides_for_table 

Source
pub fn overrides_for_table(
    all: &ColumnOverrides,
    table: &str,
) -> ColumnOverrides
Expand description

Narrow a parsed override map to ONE table: bare keys (amount) apply to every table; qualified keys (orders.amount) apply only to their table and WIN over a bare key for the same column. Foreign-qualified keys are excluded entirely. table is the bare table name (no schema part). This is what makes columns: safe on a schema-wide multi-table export — one table’s override can never bleed into a same-named column elsewhere.