Trait atmosphere::Bind
source · pub trait Bind: Table {
// Required method
fn bind<'q, Q>(&'q self, c: &'q Column<Self>, query: Q) -> Result<Q, Error>
where Q: Bindable<'q>;
}Expand description
Trait for binding columns to SQL queries in the context of a specific table.
This trait should be implemented by table entities to enable the binding of their columns to SQL queries. It provides a method to bind a single column, ensuring that the query correctly reflects the structure and constraints of the table.
Required Methods§
Object Safety§
This trait is not object safe.