QuerySome
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
Method Signature
Arguments
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
Examples
The simple Querysome example
Here,we've example to check whether the 75 is exists or not in myquery mark column value.
Result: Some matches Record found!
The Query Member Function example
Here,we've example to check whether the 85 is exists or not in myquery mark column value using query member function.
Result: No matches Record found!
Additional Examples
Related
Last updated
Was this helpful?