pub type ReplaceStatement<T, U, Ret = NoReturningClause> = InsertStatement<T, U, Replace, Ret>;
Expand description
Represents a complete INSERT OR REPLACE
statement.
Aliased Type§
struct ReplaceStatement<T, U, Ret = NoReturningClause> {
pub operator: Replace,
pub target: T,
pub records: U,
pub returning: Ret,
/* private fields */
}
Fields§
§operator: Replace
The operator used by this InsertStatement
Corresponds to either Insert
or Replace
target: T
The table we are inserting into
records: U
The data which should be inserted
returning: Ret
An optional returning clause