QueryEvery

Executes a callback/closure against every row in a query and returns true if the callback/closure returned true for every row.

Method Signature

QueryEvery(query=[query], closure=[function], parallel=[boolean], maxThreads=[integer])

Arguments

ArgumentTypeRequiredDescriptionDefault

query

query

true

The query to iterate over

closure

function

true

The function to invoke for each item. The function will be passed 1 argument: the row.

parallel

boolean

false

Specifies whether the items can be executed in parallel

false

maxThreads

integer

false

The maximum number of threads to use when parallel = true

Examples

Last updated

Logo

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