pub struct ReadQueryBuilder<'a, C: QueryContext, Row = <C as QueryContext>::Model> { /* private fields */ }Implementations§
Source§impl<'a, C, Row> ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
impl<'a, C, Row> ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
pub fn include_deleted(self) -> Self
pub fn search(
self,
config: <C::Model as FullTextSearchable>::FullTextSearchConfig,
) -> Selfwhere
C::Model: FullTextSearchable + 'static,
<C::Model as FullTextSearchable>::FullTextSearchConfig: Send + Sync + 'static,
Source§impl<'a, C, Row> ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
C::Model: GetDeleteMarker + JoinNavigationModel,
Row: Send + Sync + Unpin + for<'r> FromRow<'r, PgRow>,
impl<'a, C, Row> ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
C::Model: GetDeleteMarker + JoinNavigationModel,
Row: Send + Sync + Unpin + for<'r> FromRow<'r, PgRow>,
pub fn take<NewRow>( self, selection: SelectionList<NewRow, SelectionEntry>, ) -> ReadQueryBuilder<'a, C, NewRow>
pub fn group_by(self, group_by: GroupByList) -> Self
pub fn having(self, having: HavingList) -> Self
Trait Implementations§
Source§impl<'a, C, Row> Buildable<C> for ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
C::Model: GetDeleteMarker + JoinNavigationModel,
Row: Send + Sync + Unpin + for<'r> FromRow<'r, PgRow>,
impl<'a, C, Row> Buildable<C> for ReadQueryBuilder<'a, C, Row>where
C: QueryContext,
C::Model: GetDeleteMarker + JoinNavigationModel,
Row: Send + Sync + Unpin + for<'r> FromRow<'r, PgRow>,
Source§impl<'a, C, Row> BuildableFilter<C> for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> BuildableFilter<C> for ReadQueryBuilder<'a, C, Row>
fn where(self, e: Expression<<C as QueryContext>::Query>) -> Self
Source§impl<'a, C, Row> BuildableJoin<C> for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> BuildableJoin<C> for ReadQueryBuilder<'a, C, Row>
Source§impl<'a, C, Row> BuildablePage<C> for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> BuildablePage<C> for ReadQueryBuilder<'a, C, Row>
fn paginate(self, p: Pagination) -> Self
Source§impl<'a, C, Row> BuildableSort<C> for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> BuildableSort<C> for ReadQueryBuilder<'a, C, Row>
Auto Trait Implementations§
impl<'a, C, Row> Freeze for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row = <C as QueryContext>::Model> !RefUnwindSafe for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> Send for ReadQueryBuilder<'a, C, Row>where
Row: Send,
impl<'a, C, Row> Sync for ReadQueryBuilder<'a, C, Row>where
Row: Sync,
impl<'a, C, Row> Unpin for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row> UnsafeUnpin for ReadQueryBuilder<'a, C, Row>
impl<'a, C, Row = <C as QueryContext>::Model> !UnwindSafe for ReadQueryBuilder<'a, C, Row>
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
Source§impl<T> GetDeleteMarker for T
impl<T> GetDeleteMarker for T
default fn delete_marker_field() -> Option<&'static str>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more