pub struct JoinQueryBuilder { /* private fields */ }Expand description
Builder for join queries
Implementations§
Source§impl JoinQueryBuilder
impl JoinQueryBuilder
Sourcepub fn join_type(self, jt: JoinType) -> JoinQueryBuilder
pub fn join_type(self, jt: JoinType) -> JoinQueryBuilder
Set join type
Sourcepub fn right_alias(self, alias: &str) -> JoinQueryBuilder
pub fn right_alias(self, alias: &str) -> JoinQueryBuilder
Set alias for the right-hand source
Sourcepub fn filter(self, f: Filter) -> JoinQueryBuilder
pub fn filter(self, f: Filter) -> JoinQueryBuilder
Add post-join filter
Sourcepub fn order_by(self, clause: OrderByClause) -> JoinQueryBuilder
pub fn order_by(self, clause: OrderByClause) -> JoinQueryBuilder
Add post-join ordering
Sourcepub fn limit(self, n: u64) -> JoinQueryBuilder
pub fn limit(self, n: u64) -> JoinQueryBuilder
Set post-join limit
Sourcepub fn offset(self, n: u64) -> JoinQueryBuilder
pub fn offset(self, n: u64) -> JoinQueryBuilder
Set post-join offset
Sourcepub fn return_field(self, field: FieldRef) -> JoinQueryBuilder
pub fn return_field(self, field: FieldRef) -> JoinQueryBuilder
Add post-join projected field
Sourcepub fn select(self, column: &str) -> JoinQueryBuilder
pub fn select(self, column: &str) -> JoinQueryBuilder
Add post-join projected column
Auto Trait Implementations§
impl Freeze for JoinQueryBuilder
impl RefUnwindSafe for JoinQueryBuilder
impl Send for JoinQueryBuilder
impl Sync for JoinQueryBuilder
impl Unpin for JoinQueryBuilder
impl UnsafeUnpin for JoinQueryBuilder
impl UnwindSafe for JoinQueryBuilder
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request