Skip to main content

SecureUpdateExt

Trait SecureUpdateExt 

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

Extension trait to convert a regular SeaORM UpdateMany into a SecureUpdateMany.

Required Methods§

Source

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

Convert this update operation into a secure (unscoped) update. 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> SecureUpdateExt<E> for UpdateMany<E>
where E: EntityTrait,

Implementors§