pub struct SelectedQuery<'a, E, M: Memory, S> { /* private fields */ }Expand description
A bounded query with its result columns selected.
Implementations§
Source§impl<E: Entity, M: Memory, S: Selection<E>> SelectedQuery<'_, E, M, S>
impl<E: Entity, M: Memory, S: Selection<E>> SelectedQuery<'_, E, M, S>
Sourcepub fn fetch(self) -> Result<QueryPage<S::Output>, Error>
pub fn fetch(self) -> Result<QueryPage<S::Output>, Error>
Fetch the selected values with ordinary query bounds and continuation.
§Errors
Repeated columns refuse. Ordinary query, projection and cursor errors apply.
Auto Trait Implementations§
impl<'a, E, M, S> !RefUnwindSafe for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> !Send for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> !Sync for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> !UnwindSafe for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> Forget for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> Freeze for SelectedQuery<'a, E, M, S>where
&'a Database<M>: Freeze,
*const RcInner<RefCell<Database<M>>> is !null: Freeze,
PhantomData<RcInner<RefCell<Database<M>>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<GroupPredicate<IndexValue<'a>>>: Freeze,
&'a GroupCursor: Freeze,
PhantomData<Predicate<'a>>: Freeze,
&'a str: Freeze,
PhantomData<IndexValue<'a>>: Freeze,
PhantomData<OrderTerm<'a>>: Freeze,
&'a QueryCursor: Freeze,
PhantomData<E>: Freeze,
S: Freeze,
impl<'a, E, M, S> Move for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> Unpin for SelectedQuery<'a, E, M, S>
impl<'a, E, M, S> UnsafeUnpin for SelectedQuery<'a, E, M, S>where
&'a Database<M>: UnsafeUnpin,
*const RcInner<RefCell<Database<M>>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<Database<M>>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<GroupPredicate<IndexValue<'a>>>: UnsafeUnpin,
&'a GroupCursor: UnsafeUnpin,
PhantomData<Predicate<'a>>: UnsafeUnpin,
&'a str: UnsafeUnpin,
PhantomData<IndexValue<'a>>: UnsafeUnpin,
PhantomData<OrderTerm<'a>>: UnsafeUnpin,
&'a QueryCursor: UnsafeUnpin,
PhantomData<E>: UnsafeUnpin,
S: 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