pub struct SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit> { /* private fields */ }Implementations§
Source§impl<S, F> SelectQueryBuilder<S, F, NA, NA, NA, NA, NA>
impl<S, F> SelectQueryBuilder<S, F, NA, NA, NA, NA, NA>
pub fn where_condition<Where>(
self,
condition: Where,
) -> SelectQueryBuilder<S, F, Where, NA, NA, NA, NA>where
Where: Expression,
Source§impl<S, F, W, G> SelectQueryBuilder<S, F, W, G, NA, NA, NA>
impl<S, F, W, G> SelectQueryBuilder<S, F, W, G, NA, NA, NA>
pub fn having<Having: Expression>( self, having: Having, ) -> SelectQueryBuilder<S, F, W, G, Having, NA, NA>
Source§impl<S, F, W, G, H> SelectQueryBuilder<S, F, W, G, H, NA, NA>
impl<S, F, W, G, H> SelectQueryBuilder<S, F, W, G, H, NA, NA>
pub fn order_by<OrderBy>( self, order_by: OrderBy, ) -> SelectQueryBuilder<S, F, W, G, H, OrderBy, NA>
Source§impl<S, F, W, G, H, O> SelectQueryBuilder<S, F, W, G, H, O, NA>
impl<S, F, W, G, H, O> SelectQueryBuilder<S, F, W, G, H, O, NA>
Source§impl<S, From, W, G, H, O, L> SelectQueryBuilder<S, From, W, G, H, O, L>where
S: ExpressionCollection,
From: DataSet,
W: Expression,
G: ExpressionCollection,
H: Expression,
O: ExpressionCollection,
impl<S, From, W, G, H, O, L> SelectQueryBuilder<S, From, W, G, H, O, L>where
S: ExpressionCollection,
From: DataSet,
W: Expression,
G: ExpressionCollection,
H: Expression,
O: ExpressionCollection,
pub fn get_select(&self) -> impl Iterator<Item = impl Expression> + Clone
pub fn get_from(&self) -> &Option<From>
pub fn get_where_condition(&self) -> &Option<impl Expression>
pub fn get_group_by(&self) -> impl Iterator<Item = impl Expression> + Clone
pub fn get_having(&self) -> &Option<impl Expression>
pub fn get_order_by(&self) -> impl Iterator<Item = impl Expression> + Clone
pub fn get_limit(&self) -> Option<u32>
pub fn build<D: Driver>(&self, driver: &D) -> String
pub fn build_into<D: Driver>(&self, driver: &D, out: &mut DynQuery)
Trait Implementations§
Source§impl<S, From, W, G, H, O, L> SelectQuery<From> for SelectQueryBuilder<S, From, W, G, H, O, L>where
S: ExpressionCollection,
From: DataSet,
W: Expression,
G: ExpressionCollection,
H: Expression,
O: ExpressionCollection,
impl<S, From, W, G, H, O, L> SelectQuery<From> for SelectQueryBuilder<S, From, W, G, H, O, L>where
S: ExpressionCollection,
From: DataSet,
W: Expression,
G: ExpressionCollection,
H: Expression,
O: ExpressionCollection,
fn get_select(&self) -> impl Iterator<Item = impl Expression> + Clone
fn get_from(&self) -> &Option<From>
fn get_where_condition(&self) -> &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)
Auto Trait Implementations§
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> Freeze for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> RefUnwindSafe for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>where
Select: RefUnwindSafe,
From: RefUnwindSafe,
Where: RefUnwindSafe,
GroupBy: RefUnwindSafe,
Having: RefUnwindSafe,
OrderBy: RefUnwindSafe,
Limit: RefUnwindSafe,
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> Send for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> Sync for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> Unpin for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>
impl<Select, From, Where, GroupBy, Having, OrderBy, Limit> UnwindSafe for SelectQueryBuilder<Select, From, Where, GroupBy, Having, OrderBy, Limit>where
Select: UnwindSafe,
From: UnwindSafe,
Where: UnwindSafe,
GroupBy: UnwindSafe,
Having: UnwindSafe,
OrderBy: UnwindSafe,
Limit: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more