Skip to main content

SecureInsertExt

Trait SecureInsertExt 

Source
pub trait SecureInsertExt<A: ActiveModelTrait>: Sized {
    // Required method
    fn secure(self) -> SecureInsertOne<A, Unscoped>;
}
Expand description

Extension trait to convert a regular SeaORM Insert into a SecureInsertOne.

Required Methods§

Source

fn secure(self) -> SecureInsertOne<A, Unscoped>

Convert this insert operation into a secure (unscoped) insert. 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<A> SecureInsertExt<A> for Insert<A>

Implementors§