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§
Sourcefn secure(self) -> SecureDeleteMany<E, Unscoped>
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.