pub struct Query { /* private fields */ }Implementations§
Source§impl Query
impl Query
pub fn firestore(&self) -> &Firestore
pub fn collection_path(&self) -> &ResourcePath
pub fn collection_id(&self) -> &str
pub fn where_field( &self, field: impl Into<FieldPath>, operator: FilterOperator, value: FirestoreValue, ) -> FirestoreResult<Self>
pub fn order_by( &self, field: impl Into<FieldPath>, direction: OrderDirection, ) -> FirestoreResult<Self>
pub fn limit(&self, value: u32) -> FirestoreResult<Self>
pub fn limit_to_last(&self, value: u32) -> FirestoreResult<Self>
pub fn start_at(&self, values: Vec<FirestoreValue>) -> FirestoreResult<Self>
pub fn start_after(&self, values: Vec<FirestoreValue>) -> FirestoreResult<Self>
pub fn end_at(&self, values: Vec<FirestoreValue>) -> FirestoreResult<Self>
pub fn end_before(&self, values: Vec<FirestoreValue>) -> FirestoreResult<Self>
pub fn select<I>(&self, fields: I) -> FirestoreResult<Self>where
I: IntoIterator<Item = FieldPath>,
pub fn with_converter<C>(&self, converter: C) -> ConvertedQuery<C>where
C: FirestoreDataConverter,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for 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