Usage
- js-criteria api
- Criteria
- init criteria : create new criteria with init list of records
- firstResult : ensure start of dataList which is result dataList of the criteria.
- maxResult : a limit upon the number of objects to be retrieved.
- Restrictions : Resrictions to constrain the results to be retrieved.
- Order : An ordering to the result set..
- list : returns the results.
- Restrictions
- op() : Operator Evaluation
- eq() : Equal
- lt() : Less then
- lte() : Less then or Equal
- gt() : Greater then
- gte() : Greater then or Equal
- between() : Between startValue and endValue
- startsWith() : Starts with value
- endsWith() : Ends with value
- contains() : contains value
- like contains with percent charachter like sql LIKE
- in
- isNull
- isNotNull
- isEmpty
- isNotEmpty
- or
- and
- custom restriction
- Order
- asc
- desc
- custom order