pub struct WithQueryBuilder { /* private fields */ }Expand description
Builder for queries using WITH clause.
Implementations§
Source§impl WithQueryBuilder
impl WithQueryBuilder
Sourcepub fn where_clause(self, condition: impl Into<String>) -> Self
pub fn where_clause(self, condition: impl Into<String>) -> Self
Set the WHERE clause.
Sourcepub fn build(self, db_type: DatabaseType) -> QueryResult<String>
pub fn build(self, db_type: DatabaseType) -> QueryResult<String>
Build the full SQL query.
Trait Implementations§
Source§impl Clone for WithQueryBuilder
impl Clone for WithQueryBuilder
Source§fn clone(&self) -> WithQueryBuilder
fn clone(&self) -> WithQueryBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WithQueryBuilder
impl RefUnwindSafe for WithQueryBuilder
impl Send for WithQueryBuilder
impl Sync for WithQueryBuilder
impl Unpin for WithQueryBuilder
impl UnwindSafe for WithQueryBuilder
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