pub fn self_reference_values(
values: &[(ValuesSource, Vec<(ColumnDef, Value)>)],
table: &'static str,
local_column: &'static str,
) -> Vec<(ValuesSource, Vec<(ColumnDef, Value)>)>Expand description
Helper function which takes a list of (ValuesSource, Value) tuples, take only those with
ValuesSource::Foreign matching the provided table and column names, and returns a vector of
the corresponding Values. with the ValuesSource set to ValuesSource::This.