Rowset.rowCount()
note
This article is about the rowCount() function of the Rowset object.
Rowset.rowCount()
Gets the number of records that the row set currently contains. Unlike dbCount(), this takes into account not only the records queried from the server, but also any records inserted or deleted on the client that have not been committed yet.
Returns an integer.
Syntax
$.udb( *ds* ).rowSet( *rowSet* ).rowCount()
The required ds parameter is a data source selector.
The required rowSet parameter is a rowset identifier.
Example
let rowSet = $.udb('EMP').rowSet('current');
console.log('%d record(s) in the current row set', rowSet.rowCount());