Struct msi::Update
[−]
[src]
pub struct Update { /* fields omitted */ }
A database query to update existing rows.
Methods
impl Update
[src]
fn table(table_name: &str) -> Update
Starts building a query that will update rows in the specified table.
fn set(self, column_name: &str, value: Value) -> Update
Adds a column value to be set by the query.
fn with(self, condition: Expr) -> Update
Adds a restriction on which rows should be updated by the query; only
rows that match the given boolean expression will be updated. (This
method would have been called where()
, to better match SQL, but
where
is a reserved word in Rust.)