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§
Sourcefn secure(self) -> SecureInsertOne<A, Unscoped>
fn secure(self) -> SecureInsertOne<A, Unscoped>
Convert this insert operation into a secure (unscoped) insert.
You must call .scope_with_model() or .scope_unchecked() 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.