Skip to main content

SecureEntityExt

Trait SecureEntityExt 

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

Extension trait to convert a regular SeaORM Select into a SecureSelect.

Required Methods§

Source

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

Convert this select query into a secure (unscoped) select. You must call .scope_with() before executing the query.

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> SecureEntityExt<E> for Select<E>
where E: EntityTrait,

Implementors§