QueryExt

Trait QueryExt 

Source
pub trait QueryExt {
    // Required method
    fn bind<T: ToSql>(self, value: &T) -> BoundQuery<'_>;
}
Expand description

Extension trait for building parameterized queries.

Required Methods§

Source

fn bind<T: ToSql>(self, value: &T) -> BoundQuery<'_>

Add a parameter to 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.

Implementors§