pub struct GroupConcatFunc;Trait Implementations§
Source§impl AggregateFunction for GroupConcatFunc
impl AggregateFunction for GroupConcatFunc
Source§type State = GroupConcatState
type State = GroupConcatState
The per-group accumulator type.
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.
Source§fn finalize(&self, state: Self::State) -> Result<SqliteValue>
fn finalize(&self, state: Self::State) -> Result<SqliteValue>
Consume the accumulator and produce the final result.
Source§fn min_args(&self) -> i32
fn min_args(&self) -> i32
Minimum accepted SQL argument count for a variadic function. Read more
Source§fn max_args(&self) -> Option<i32>
fn max_args(&self) -> Option<i32>
Maximum accepted SQL argument count for a variadic function. Read more
Source§fn arity(&self) -> FunctionArity
fn arity(&self) -> FunctionArity
Return the complete SQL-visible arity contract in one metadata call. Read more
Auto Trait Implementations§
impl Freeze for GroupConcatFunc
impl RefUnwindSafe for GroupConcatFunc
impl Send for GroupConcatFunc
impl Sync for GroupConcatFunc
impl Unpin for GroupConcatFunc
impl UnsafeUnpin for GroupConcatFunc
impl UnwindSafe for GroupConcatFunc
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