pub struct CountStarFunc;Expand description
count(*) — counts all rows including those with NULL values.
Trait Implementations§
Source§impl AggregateFunction for CountStarFunc
impl AggregateFunction for CountStarFunc
Source§fn initial_state(&self) -> Self::State
fn initial_state(&self) -> Self::State
Create a fresh accumulator (zero/identity state).
Source§fn step(&self, state: &mut Self::State, _args: &[SqliteValue]) -> Result<()>
fn step(&self, state: &mut Self::State, _args: &[SqliteValue]) -> Result<()>
Process one row, updating the accumulator.
Auto Trait Implementations§
impl Freeze for CountStarFunc
impl RefUnwindSafe for CountStarFunc
impl Send for CountStarFunc
impl Sync for CountStarFunc
impl Unpin for CountStarFunc
impl UnsafeUnpin for CountStarFunc
impl UnwindSafe for CountStarFunc
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