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: ReplaceThe operator used by this InsertStatement
Corresponds to either Insert or Replace
target: TThe table we are inserting into
records: UThe data which should be inserted
returning: RetAn optional returning clause