rows method
Implementation
@override
Future<List<Map<String, dynamic>>> rows(
String collection,
int limit,
int offset,
) async {
final result = await _database.rawQuery(
'SELECT rowid AS _rowid_, * FROM $collection LIMIT $limit OFFSET $offset',
);
return result.map((row) => Map<String, dynamic>.from(row)).toList();
}