QueryClause > Object

A QueryClause is used to select a subset of items based on specific criteria in an array or object with a length and numerical indexer (such as a DOMCollection). You can use many of the extended functions given to Arrays in AwesomeQuery to simulate LINQ statements.

Constructors

From(Array array) Creates a new QueryClause .

Functions

Select(String bindingExpression) Array Selects all the objects in the set in the clause after evaluation the Where function, if provided. If a bindingExpression is provided, the value evaluated is pulled from each item and returned instead. In depth
Where(Function func) QueryClause Adds a function to evaluate that returns true or false. The current object in the iteration is passed as the first parameter to the function. The function must return true if it is to be included in the subset and false if it is not (or undefined).  

Last edited Sep 18, 2011 at 8:42 PM by dahrkdaiz, version 3

Comments

No comments yet.