Function google_cloud_spanner::mutation::insert_or_update [−][src]
pub fn insert_or_update<T, C>(
table: T,
columns: Vec<C>,
values: Vec<Kind>
) -> Mutation where
T: Into<String>,
C: Into<String>, Expand description
insert_or_update returns a Mutation to insert a row into a table. If the row already exists, it updates it instead. Any column values not explicitly written are preserved.
For a similar example, See update.