query.each()

call the given UDF/Closure with every row (struct) in the query.

query.each( query, closure [, parallel [, maxThreads ] ] )

Returns: void

Argument Description
query
query, required

query to take values from

closure
function, required

UDF/Closure that call with the entries from the query

Alias: function, callback, udf

parallel
boolean, optional

execute closures parallel

maxThreads
number, optional

maximum number of threads executed, ignored when argument "parallel" is set to false

Examples

There are currently no examples for this function

See also