Skip to main content

copied_values

Function copied_values 

Source
pub fn copied_values(
    schema: &AppSchema,
    change: &SchemaChange,
    sources: Vec<Map<String, Value>>,
) -> Result<Vec<BTreeMap<String, WriteValue>>, DatabaseError>
Expand description

Validates all copied records before adapters write them in the migration transaction. Byte arrays stay logical binary values; JSON arrays never become binary implicitly.