pub trait AnyValue: Send + Sync {
// Required method
fn bind(&self, builder: &mut QueryBuilder<'static, Driver>);
}
Expand description
Trait representing a value that can be bound into a SQL query.
This trait abstracts over different types that implement
BindValue
and allows them to be stored in a type-erased form
(Box<dyn AnyValue>
).
Required Methods§
Sourcefn bind(&self, builder: &mut QueryBuilder<'static, Driver>)
fn bind(&self, builder: &mut QueryBuilder<'static, Driver>)
Bind this value into the given QueryBuilder
.