pub struct CountStmt {
pub collection: QueryCollection,
pub filter: Option<Box<FilterExpr>>,
pub shard_key: Option<ShardKey>,
pub exact: Option<bool>,
}Expand description
COUNT FROM <collection> [WHERE …] statement.
Fields§
§collection: QueryCollectionCollection to count (explicit or inherited).
filter: Option<Box<FilterExpr>>Optional WHERE filter.
shard_key: Option<ShardKey>SHARD '<key>' routing key.
exact: Option<bool>WITH (exact = …) — require exact counts.
Trait Implementations§
impl StructuralPartialEq for CountStmt
Auto Trait Implementations§
impl Freeze for CountStmt
impl RefUnwindSafe for CountStmt
impl Send for CountStmt
impl Sync for CountStmt
impl Unpin for CountStmt
impl UnsafeUnpin for CountStmt
impl UnwindSafe for CountStmt
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