Function insert_map

Source
pub fn insert_map(
    table: &str,
    columns_ans_values: &[(&str, &dyn ToKind)],
) -> Mutation
Expand description

insert_map returns a Mutation to insert a row into a table, specified by a map of column name to value. If the row already exists, the write or transaction fails with codes.AlreadyExists.