pub trait IntoSelect<'a, S, M, R> {
type State: ClauseAllowed<Compound>;
type Table;
// Required method
fn into_select(self) -> SelectBuilder<'a, S, Self::State, Self::Table, M, R>;
}Expand description
A query that can be the right-hand side of UNION, INTERSECT or EXCEPT.
Implemented by SelectBuilder and by the driver crates’ query wrappers.
Required Associated Types§
Sourcetype State: ClauseAllowed<Compound>
type State: ClauseAllowed<Compound>
The builder state of the converted query.
Required Methods§
Sourcefn into_select(self) -> SelectBuilder<'a, S, Self::State, Self::Table, M, R>
fn into_select(self) -> SelectBuilder<'a, S, Self::State, Self::Table, M, R>
Returns the query as a SelectBuilder.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".