This function calls a given closure/function with every element in a given query and returns true, if one of the closure calls returns true
QuerySome(query=[query], callback=[function:Predicate], parallel=[boolean], maxThreads=[integer], initialValue=[any])
Argument | Type | Required | Description | Default |
---|---|---|---|---|
query |
query |
true |
The query to iterate over | |
callback |
function:Predicate |
true |
The function to invoke for each item. The function will be passed 3 arguments: the row, the currentRow, the query. | |
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 | |
initialValue |
any |
false |
- QueryAddColumn
- QueryAddRow
- QueryAppend
- QueryClear
- QueryColumnArray
- QueryColumnCount
- QueryColumnData
- QueryColumnExists
- QueryCurrentRow
- QueryDeleteColumn
- QueryDeleteRow
- QueryEach
- QueryEvery
- QueryFilter
- QueryGetCell
- QueryGetResult
- QueryInsertAt
- QueryKeyExists
- QueryMap
- QueryNew
- QueryPrepend
- QueryRecordCount
- QueryReduce
- QueryReverse
- QueryRowData
- QueryRowSwap
- QuerySetCell
- QuerySetRow
- QuerySlice
- QuerySort