pub trait QueryBindExt<'q, DB: Database>: Sized {
fn bind<T>(self, value: T) -> Self
where
T: 'q + Send + Encode<'q, DB> + Type<DB>;
fn bind_with<T>(self, value: T, bind_fn: impl Fn(Self, T) -> Self) -> Self { ... }
fn bind_multi<T>(self, values: impl IntoIterator<Item = T>) -> Self
where
T: 'q + Send + Encode<'q, DB> + Type<DB>,
{ ... }
fn bind_multi_with<T: 'q>(
self,
values: impl IntoIterator<Item = &'q T>,
bind_fn: impl Fn(Self, &'q T) -> Self
) -> Self { ... }
fn bind_fields<T: Insertable<Database = DB>>(self, value: &'q T) -> Self { ... }
fn bind_multi_fields<T: Insertable<Database = DB> + 'q>(
self,
values: impl IntoIterator<Item = &'q T>
) -> Self { ... }
}
sourceimpl<'q, DB: Database> QueryBindExt<'q, DB> for Query<'q, DB, <DB as HasArguments<'q>>::Arguments>
sourceimpl<'q, DB, O> QueryBindExt<'q, DB> for QueryAs<'q, DB, O, <DB as HasArguments<'q>>::Arguments> where
DB: Database,
sourceimpl<'q, DB, O> QueryBindExt<'q, DB> for QueryScalar<'q, DB, O, <DB as HasArguments<'q>>::Arguments> where
DB: Database,