Skip to main content

JoinSource

Trait JoinSource 

Source
pub trait JoinSource<D>: Sealed {
    type Table: Table;
}
Expand description

Something a query can select from or join to. A schema table brings nothing with it; a Cte brings its WITH binding, so attaching that binding and putting the pseudo-table in scope stay one act — while every join kind, and correlated, work on both without being written twice.

Required Associated Types§

Source

type Table: Table

The table this source contributes to the scope.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<D, Marker: CteShape> JoinSource<D> for Cte<D, Marker>

Source§

type Table = Marker

Source§

impl<D, T: BaseTable> JoinSource<D> for T

Source§

type Table = T