Previous Next

Filters the contents of a rows collection.


.filter( functionindex, row ) )

The required function is the function to be executed.

The optional index is the index key of the item in the rows collection for which the function is executed. The index is 0-based: the first item has index 0, not 1.

The optional row is the row set itself. Effectively, this is the same object as returned by 'this'.



var retiredEmps = $.udb('EMP').rows().each(function(index, r){

    return this.cols('AGE') >= 68;



See also