Skip to main content

remove_column_keys

Function remove_column_keys 

Source
pub fn remove_column_keys(
    columns: &mut [ColumnDef],
    keys: &mut Vec<TableKeyConstraint>,
    column: &str,
)
Expand description

A key constraint goes with any column of its supporting index: a key column or an included one. A single-column constraint that goes with an included column also gives up the key flag of its surviving key column, unless another constraint of its kind still keys that column alone.