Skip to main content

AnyQuery

Trait AnyQuery 

Source
pub trait AnyQuery {
    // Required method
    async fn any(self, db: &impl ConnectionTrait) -> Result<bool, DbErr>;
}

Required Methods§

Source

async fn any(self, db: &impl ConnectionTrait) -> Result<bool, DbErr>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: EntityTrait> AnyQuery for Select<T>
where T::Model: Sync,

Source§

async fn any(self, db: &impl ConnectionTrait) -> Result<bool, DbErr>

Source§

impl<T: SelectorTrait + Send + Sync> AnyQuery for Selector<T>

Source§

async fn any(self, db: &impl ConnectionTrait) -> Result<bool, DbErr>

Implementors§