pub struct TransactionQuery<'tx, M> { /* private fields */ }Implementations§
Source§impl<M: Model> TransactionQuery<'_, M>
impl<M: Model> TransactionQuery<'_, M>
pub fn filter(self, expr: Expr) -> Self
pub fn order_by(self, order: OrderBy) -> Self
pub fn limit(self, limit: u64) -> Self
pub fn offset(self, offset: u64) -> Self
pub async fn all(self) -> Result<Vec<M>, OrmError>where
M: Send + 'static,
pub async fn first(self) -> Result<Option<M>, OrmError>where
M: Send + 'static,
Auto Trait Implementations§
impl<'tx, M> !RefUnwindSafe for TransactionQuery<'tx, M>
impl<'tx, M> !UnwindSafe for TransactionQuery<'tx, M>
impl<'tx, M> Freeze for TransactionQuery<'tx, M>where
SelectQuery<M>: Freeze,
impl<'tx, M> Send for TransactionQuery<'tx, M>where
SelectQuery<M>: Send,
impl<'tx, M> Sync for TransactionQuery<'tx, M>where
SelectQuery<M>: Sync,
impl<'tx, M> Unpin for TransactionQuery<'tx, M>where
SelectQuery<M>: Unpin,
impl<'tx, M> UnsafeUnpin for TransactionQuery<'tx, M>where
SelectQuery<M>: UnsafeUnpin,
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