getRowCountWithThreshold method

Returns the number of rows in the result set up to a specified threshold number of rows.

Syntax

UInt32 getRowCount( UInt32 threshold)

Parameters

threshold This value supplies a limiting value for the row counting operation. If there are more rows than the threshold value, the
result is the threshold value. Counting rows can be an expensive operation when a large number of rows is present. Some applications
simply need to know if more than a specific number of rows exist (for example, to determine whether to offer an option for
the user to request more rows) and do not need an exact row count. If this value is zero, all rows are counted.