Struct sea_orm::query::DeleteOne [−][src]
pub struct DeleteOne<A> where
A: ActiveModelTrait, { /* fields omitted */ }
Implementations
pub fn exec(
self,
db: &'a DatabaseConnection
) -> impl Future<Output = Result<DeleteResult, DbErr>> + 'a
Trait Implementations
type QueryStatement = DeleteStatement
Add an AND WHERE expression Read more
Apply a where condition using the model’s primary key
type QueryStatement = DeleteStatement
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<A> !RefUnwindSafe for DeleteOne<A>
impl<A> !UnwindSafe for DeleteOne<A>
Blanket Implementations
Mutably borrows from an owned value. Read more