pub struct Join<L: DataSet, R: DataSet, E: Expression> {
pub join: JoinType,
pub lhs: L,
pub rhs: R,
pub on: Option<E>,
}
Fields§
§join: JoinType
§lhs: L
§rhs: R
§on: Option<E>
Trait Implementations§
Source§impl<L: DataSet, R: DataSet, E: Expression> DataSet for Join<L, R, E>
impl<L: DataSet, R: DataSet, E: Expression> DataSet for Join<L, R, E>
Source§fn qualified_columns() -> boolwhere
Self: Sized,
fn qualified_columns() -> boolwhere
Self: Sized,
Must qualify the column names with the table name
fn write_query( &self, writer: &dyn SqlWriter, context: &mut Context, buff: &mut String, )
fn select<'s, Item, Cols, Exec, Expr>(
&'s self,
columns: Cols,
executor: &'s mut Exec,
condition: &Expr,
limit: Option<u32>,
) -> impl Stream<Item = Result<RowLabeled>> + 'swhere
Self: Sized,
Item: Expression,
Cols: IntoIterator<Item = Item> + Clone,
Exec: Executor,
Expr: Expression,
fn prepare<Item, Cols, Exec, Expr>(
&self,
columns: Cols,
executor: &mut Exec,
condition: &Expr,
limit: Option<u32>,
) -> impl Future<Output = Result<Query<Exec::Driver>>>where
Self: Sized,
Item: Expression,
Cols: IntoIterator<Item = Item> + Clone,
Exec: Executor,
Expr: Expression,
Auto Trait Implementations§
impl<L, R, E> Freeze for Join<L, R, E>
impl<L, R, E> RefUnwindSafe for Join<L, R, E>
impl<L, R, E> Send for Join<L, R, E>
impl<L, R, E> Sync for Join<L, R, E>
impl<L, R, E> Unpin for Join<L, R, E>
impl<L, R, E> UnwindSafe for Join<L, R, E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more