Function update_struct

Source
pub fn update_struct(table: &str, to_struct: impl ToStruct) -> Mutation
Expand description

update_struct returns a Mutation to update a row in a table, specified by a Go struct. If the row does not already exist, the write or transaction fails.