Pstep
Bun

property

sqlite.AggregateOptions.step

step: (accumulator: T, ...args: SQLOutputValue[]) => T

The function to call for each row in the aggregation. The function receives the current state and the row value. The return value of this function should be the new state.