Skip to main content

QueryExt

Trait QueryExt 

Source
pub trait QueryExt: Query {
    // Provided method
    fn build_params<B: SqlBackend>(
        &self,
    ) -> Result<(Cow<'static, str>, Vec<B::Param>), Error> { ... }
}

Provided Methods§

Source

fn build_params<B: SqlBackend>( &self, ) -> Result<(Cow<'static, str>, Vec<B::Param>), Error>

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.

Implementors§

Source§

impl<T: Query + ?Sized> QueryExt for T