Trait diesel::query_builder::UpdateTarget
[−]
[src]
pub trait UpdateTarget: QuerySource { type Table: Table; type WhereClause; fn where_clause(&self) -> Option<&Self::WhereClause>; }
You should not need to implement this trait.
table!
will implement it for you.
Types which can be passed to update
. This will be
implemented for tables, and the result
of calling filter
.
Errors about this trait not being implemented are likely indicating that you
have called a method like select
or order
, which does not make sense in
the context of an update
or delete
operation.
Associated Types
type Table: Table
type WhereClause
Required Methods
fn where_clause(&self) -> Option<&Self::WhereClause>
Implementors
impl<T: Table> UpdateTarget for T