Skip to main content

SecureDeleteExt

Trait SecureDeleteExt 

Source
pub trait SecureDeleteExt<E: EntityTrait>: Sized {
    // Required method
    fn secure(self) -> SecureDeleteMany<E, Unscoped>;
}
Expand description

Extension trait to convert a regular SeaORM DeleteMany into a SecureDeleteMany.

Required Methods§

Source

fn secure(self) -> SecureDeleteMany<E, Unscoped>

Convert this delete operation into a secure (unscoped) delete. You must call .scope_with() before executing.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<E> SecureDeleteExt<E> for DeleteMany<E>
where E: EntityTrait,

Implementors§