Skip to main content

AfterJoin

Trait AfterJoin 

Source
pub trait AfterJoin<CurrentRow, JoinedTable> {
    type NewRow;
}
Expand description

Determines the new row type after a JOIN.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Cols, R, T> AfterJoin<R, T> for SelectCols<Cols>

Explicit columns + JOIN → R unchanged.

Source§

impl<M, Scope, R, T> AfterJoin<R, T> for Scoped<M, Scope>
where M: AfterJoin<R, T>,

Source§

type NewRow = <M as AfterJoin<R, T>>::NewRow

Source§

impl<R, T: HasSelectModel> AfterJoin<R, T> for SelectStar

SELECT * + JOIN → (CurrentRow, JoinedTable::SelectModel).

Source§

impl<R, T> AfterJoin<R, T> for SelectExpr

Raw/untyped + JOIN → R unchanged.

Source§

impl<Row, R, T> AfterJoin<R, T> for SelectAs<Row>

Explicit model + JOIN → R unchanged.