pub struct Select<'until_build, 'post_query> { /* private fields */ }Expand description
Select builder
Can be constructed via DBImpl::select
Implementations§
Source§impl<'until_build, 'post_build> Select<'until_build, 'post_build>
impl<'until_build, 'post_build> Select<'until_build, 'post_build>
Sourcepub fn limit_clause(self, limit: LimitClause) -> Self
pub fn limit_clause(self, limit: LimitClause) -> Self
Set a limit to the resulting rows.
Sourcepub fn where_clause(
self,
where_clause: &'until_build Condition<'post_build>,
) -> Self
pub fn where_clause( self, where_clause: &'until_build Condition<'post_build>, ) -> Self
Set a where clause to the query.
Sourcepub fn locking_clause(self, locking: LockingClause) -> Self
Available on crate feature postgres-only only.
pub fn locking_clause(self, locking: LockingClause) -> Self
postgres-only only.Set a lock on the resulting rows
Trait Implementations§
Auto Trait Implementations§
impl<'until_build, 'post_query> Freeze for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> RefUnwindSafe for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> Send for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> Sync for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> Unpin for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> UnsafeUnpin for Select<'until_build, 'post_query>
impl<'until_build, 'post_query> UnwindSafe for Select<'until_build, 'post_query>
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