Skip to main content

SelectBuilder

Trait SelectBuilder 

Source
pub trait SelectBuilder<V>: Clone {
    type Join;

    // Required methods
    fn push_join(&mut self, join: Self::Join);
    fn push_having(&mut self, cond: Expression<V>);
    fn push_cte(&mut self, name: String, query: Expression<V>, recursive: bool);
}
Expand description

Trait for dialect-specific SELECT extensions beyond Selectable: joins, HAVING, CTEs, and named windows.

Implemented by each backend’s Select type (SqliteSelect, PostgresSelect, etc.)

Required Associated Types§

Required Methods§

Source

fn push_join(&mut self, join: Self::Join)

Source

fn push_having(&mut self, cond: Expression<V>)

Source

fn push_cte(&mut self, name: String, query: Expression<V>, recursive: bool)

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§