Function google_cloud_spanner::mutation::insert_or_update_struct [−][src]
pub fn insert_or_update_struct<T>(
table: T,
to_struct: impl ToStruct
) -> Mutation where
T: Into<String>, Expand description
insert_or_update_struct returns a Mutation to insert a row into a table, specified by a Go struct. If the row already exists, it updates it instead. Any column values not explicitly written are preserved. For a similar example, See update_struct.