query.every()

This function calls a given closure/function with every element in a given query and returns true, if all of the closure calls returns true.

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

Returns: Boolean

Argument Description
query
query, required

query to iterate

Alias: object

closure
function, required

function/closure that implements the following constructor [function(struct row [number rownumber, query query]):boolean].

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