Struct diesel::pg::upsert::IncompleteDoUpdate [−][src]
pub struct IncompleteDoUpdate<Stmt, Target> { /* fields omitted */ }
Expand description
A partially constructed ON CONFLICT DO UPDATE
clause.
Implementations
pub fn set<Changes>(
self,
changes: Changes
) -> InsertStatement<T, OnConflictValues<U, Target, DoUpdate<Changes::Changeset>>, Op, Ret> where
T: QuerySource,
Changes: AsChangeset<Target = T>,
pub fn set<Changes>(
self,
changes: Changes
) -> InsertStatement<T, OnConflictValues<U, Target, DoUpdate<Changes::Changeset>>, Op, Ret> where
T: QuerySource,
Changes: AsChangeset<Target = T>,
See do_update
for usage examples.
Trait Implementations
Auto Trait Implementations
impl<Stmt, Target> RefUnwindSafe for IncompleteDoUpdate<Stmt, Target> where
Stmt: RefUnwindSafe,
Target: RefUnwindSafe,
impl<Stmt, Target> Send for IncompleteDoUpdate<Stmt, Target> where
Stmt: Send,
Target: Send,
impl<Stmt, Target> Sync for IncompleteDoUpdate<Stmt, Target> where
Stmt: Sync,
Target: Sync,
impl<Stmt, Target> Unpin for IncompleteDoUpdate<Stmt, Target> where
Stmt: Unpin,
Target: Unpin,
impl<Stmt, Target> UnwindSafe for IncompleteDoUpdate<Stmt, Target> where
Stmt: UnwindSafe,
Target: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more