count method
Returns the number of rows in the cache
Example:
print('Total notes: ${noteTable.count()}');
Implementation
int count() {
return hasPrimaryKey ? _rowsByPrimaryKey.length : _rows.length;
}
Returns the number of rows in the cache
Example:
print('Total notes: ${noteTable.count()}');
int count() {
return hasPrimaryKey ? _rowsByPrimaryKey.length : _rows.length;
}