pub struct TableQueryBuilder { /* private fields */ }Implementations§
Source§impl TableQueryBuilder
impl TableQueryBuilder
Sourcepub fn new(table: &str) -> TableQueryBuilder
pub fn new(table: &str) -> TableQueryBuilder
Create a new builder
Sourcepub fn alias(self, alias: &str) -> TableQueryBuilder
pub fn alias(self, alias: &str) -> TableQueryBuilder
Set alias
Sourcepub fn select(self, column: &str) -> TableQueryBuilder
pub fn select(self, column: &str) -> TableQueryBuilder
Add column to select
Sourcepub fn select_all(self) -> TableQueryBuilder
pub fn select_all(self) -> TableQueryBuilder
Add all columns
Sourcepub fn filter(self, f: Filter) -> TableQueryBuilder
pub fn filter(self, f: Filter) -> TableQueryBuilder
Add filter
Sourcepub fn order_by(self, clause: OrderByClause) -> TableQueryBuilder
pub fn order_by(self, clause: OrderByClause) -> TableQueryBuilder
Add order by
Sourcepub fn limit(self, n: u64) -> TableQueryBuilder
pub fn limit(self, n: u64) -> TableQueryBuilder
Set limit
Sourcepub fn offset(self, n: u64) -> TableQueryBuilder
pub fn offset(self, n: u64) -> TableQueryBuilder
Set offset
Sourcepub fn join_graph(
self,
pattern: GraphPattern,
on: JoinCondition,
) -> JoinQueryBuilder
pub fn join_graph( self, pattern: GraphPattern, on: JoinCondition, ) -> JoinQueryBuilder
Join with a graph pattern
Sourcepub fn join_table(self, table: &str, on: JoinCondition) -> JoinQueryBuilder
pub fn join_table(self, table: &str, on: JoinCondition) -> JoinQueryBuilder
Join with another table source
Sourcepub fn join_vector(
self,
query: VectorQuery,
on: JoinCondition,
) -> JoinQueryBuilder
pub fn join_vector( self, query: VectorQuery, on: JoinCondition, ) -> JoinQueryBuilder
Join with a vector query
Sourcepub fn join_path(self, query: PathQuery, on: JoinCondition) -> JoinQueryBuilder
pub fn join_path(self, query: PathQuery, on: JoinCondition) -> JoinQueryBuilder
Join with a path query
Sourcepub fn join_hybrid(
self,
query: HybridQuery,
on: JoinCondition,
) -> JoinQueryBuilder
pub fn join_hybrid( self, query: HybridQuery, on: JoinCondition, ) -> JoinQueryBuilder
Join with a hybrid query
Auto Trait Implementations§
impl Freeze for TableQueryBuilder
impl RefUnwindSafe for TableQueryBuilder
impl Send for TableQueryBuilder
impl Sync for TableQueryBuilder
impl Unpin for TableQueryBuilder
impl UnsafeUnpin for TableQueryBuilder
impl UnwindSafe for TableQueryBuilder
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