QueryReduce

This function reduces the query to a single value.

Method Signature

QueryReduce(query=[query], callback=[function], initialValue=[any])

Arguments

ArgumentTypeRequiredDescriptionDefault

query

query

true

The query to iterate over

callback

function

true

The function to invoke for each item. The function will be passed 3 arguments: the row, the currentRow, the query.

initialValue

any

true

The initial value to use for the reduction

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC