Struct sea_orm::query::DeleteMany [−][src]
pub struct DeleteMany<E> where
E: EntityTrait, { /* fields omitted */ }
Expand description
Perform a delete operation on multiple models
Implementations
pub fn exec<C>(
self,
db: &'a C
) -> impl Future<Output = Result<DeleteResult, DbErr>> + '_ where
C: ConnectionTrait<'a>,
pub fn exec<C>(
self,
db: &'a C
) -> impl Future<Output = Result<DeleteResult, DbErr>> + '_ where
C: ConnectionTrait<'a>,
Execute a DELETE operation on many ActiveModels
Trait Implementations
type QueryStatement = DeleteStatement
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 = DeleteStatement
type QueryStatement = DeleteStatement
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 DeleteMany<E>
impl<E> Send for DeleteMany<E>
impl<E> Sync for DeleteMany<E>
impl<E> Unpin for DeleteMany<E> where
E: Unpin,
impl<E> !UnwindSafe for DeleteMany<E>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more