getRecordCount

From AgileApps Support Wiki
Revision as of 22:34, 29 September 2011 by imported>Aeric

Gets a count of records in an Object that match specified filtering criteria.

Syntax
int count = Functions.getRecordCount(String objectId, String criteria);
Parameters
objectId
The object identifier
criteria
A filter expression that specifies records to select.
Returns
An integer containing a count of records that match the selection criteria.