Struct sea_orm::query::UpdateMany [−][src]
pub struct UpdateMany<E> where
E: EntityTrait, { /* fields omitted */ }
Expand description
Defines an UPDATE operation on multiple ActiveModels
Implementations
pub fn exec<C>(
self,
db: &'a C
) -> impl Future<Output = Result<UpdateResult, DbErr>> + '_ where
C: ConnectionTrait<'a>,
pub fn exec<C>(
self,
db: &'a C
) -> impl Future<Output = Result<UpdateResult, DbErr>> + '_ where
C: ConnectionTrait<'a>,
Execute an update operation on multiple ActiveModels
Add the models to update to Self
Creates a SimpleExpr from a column
Trait Implementations
type QueryStatement = UpdateStatement
Add the query to perform a FILTER on
Add an AND WHERE expression Read more
Apply a where condition using the model’s primary key
Perform a check to determine table belongs to a Model through it’s name alias
type QueryStatement = UpdateStatement
type QueryStatement = UpdateStatement
Constrain the QueryStatement to QueryStatementBuilder trait
Get a mutable ref to the query builder
Get an immutable ref to the query builder
Take ownership of the query builder
Auto Trait Implementations
impl<E> !RefUnwindSafe for UpdateMany<E>
impl<E> Send for UpdateMany<E>
impl<E> Sync for UpdateMany<E>
impl<E> Unpin for UpdateMany<E> where
E: Unpin,
impl<E> !UnwindSafe for UpdateMany<E>
Blanket Implementations
Mutably borrows from an owned value. Read more