diesel::dsl

Function select

source
pub fn select<T>(expression: T) -> select<T>
where T: Expression, select<T>: AsQuery,
Expand description

Creates a bare select statement, with no from clause. Primarily used for testing diesel itself, but likely useful for third party crates as well. The given expressions must be selectable from anywhere.