Presult
Bun

property

sqlite.AggregateOptions.result

result?: (accumulator: T) => SQLInputValue

The function to call to get the result of the aggregation. The function receives the final state and should return the result of the aggregation.