pub trait TableLoaderManySqlx: Table<'static> + TableLoaderSqlx {
// Required method
fn load_many<'a>(
&self,
values: &mut impl Iterator<Item = PgValueRef<'a>>,
) -> Vec<Self::Result>;
}Expand description
Trait allowing loading of many Tables when using sqlx.
Required Methods§
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.
Implementations on Foreign Types§
Source§impl<T> TableLoaderManySqlx for (T₁, T₂, …, Tₙ)where
T: TableLoaderManySqlx,
Available on crate feature sqlx only.This trait is implemented for tuples up to 15 items long.
impl<T> TableLoaderManySqlx for (T₁, T₂, …, Tₙ)where
T: TableLoaderManySqlx,
Available on crate feature
sqlx only.This trait is implemented for tuples up to 15 items long.
Implementors§
impl<A> TableLoaderManySqlx for One<'static, ExprMode, A>where
A: Value,
impl<A, B> TableLoaderManySqlx for Two<'static, ExprMode, A, B>
impl<A, B, C> TableLoaderManySqlx for Three<'static, ExprMode, A, B, C>
impl<T> TableLoaderManySqlx for TableUsingMapper<T>
Available on crate feature
sqlx only.impl<T: Value> TableLoaderManySqlx for Expr<'static, T>
Available on crate feature
sqlx only.