Trait atmosphere::Bindable
source · pub trait Bindable<'q> {
// Required method
fn dyn_bind<T>(self, value: T) -> Self
where T: 'q + Send + Encode<'q, Postgres> + Type<Postgres>;
}Expand description
Trait for dynamic binding of values.
Bindable provides an abstraction over different types of SQL queries, such as
sqlx::query::Query and sqlx::query::QueryAs, allowing for flexible and dynamic binding of
values. It is designed to work with various query types and enables the binding of values with
different types and constraints.
Required Methods§
Object Safety§
This trait is not object safe.