- Index
- »
- hx
- »
- func:readAll
def
func:readAll
readAll(filterExpr, optsExpr: null)
Reall all records from the database which match the filter. The filter must an expression which matches the filter structure. String values may parsed into a filter using parseFilter() function.
Options:
limit: max number of recs to returnsort: sort by display name
Examples:
readAll(site) // read all site recs
readAll(equip and siteRef==@xyz) // read all equip in a given site
readAll(equip, {limit:10}) // read up to ten equips
readAll(equip, {sort}) // read all equip sorted by dis