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§
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)
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.