SelectQuery

Trait SelectQuery 

Source
pub trait SelectQuery<From>
where From: DataSet,
{ // Required methods fn get_select(&self) -> impl Iterator<Item = impl Expression> + Clone; fn get_from<'s>(&'s self) -> &'s Option<From>; fn get_where_condition<'s>(&'s self) -> &'s Option<impl Expression>; fn get_group_by(&self) -> impl Iterator<Item = impl Expression> + Clone; fn get_having(&self) -> &Option<impl Expression>; fn get_order_by(&self) -> impl Iterator<Item = impl Expression> + Clone; fn get_limit(&self) -> Option<u32>; fn build<D: Driver>(&self, driver: &D) -> String; fn build_into<D: Driver>(&self, driver: &D, out: &mut DynQuery); }

Required Methods§

Source

fn get_select(&self) -> impl Iterator<Item = impl Expression> + Clone

Source

fn get_from<'s>(&'s self) -> &'s Option<From>

Source

fn get_where_condition<'s>(&'s self) -> &'s Option<impl Expression>

Source

fn get_group_by(&self) -> impl Iterator<Item = impl Expression> + Clone

Source

fn get_having(&self) -> &Option<impl Expression>

Source

fn get_order_by(&self) -> impl Iterator<Item = impl Expression> + Clone

Source

fn get_limit(&self) -> Option<u32>

Source

fn build<D: Driver>(&self, driver: &D) -> String

Source

fn build_into<D: Driver>(&self, driver: &D, out: &mut DynQuery)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, From, W, G, H, O, L> SelectQuery<From> for SelectQueryBuilder<S, From, W, G, H, O, L>