Skip to content

Commit 23fb727

Browse files
committed
Organize
1 parent 07d82ce commit 23fb727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sqlite_helper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ class SqliteHelper{
7070
Future<List<Map>> fetchAllOrderedByID({bool desc=false}) async {
7171
/*todo 5: Fetch all items from the db*/
7272
await open();
73-
// List<Map> items=await _database.query(tableName);
7473
List<Map> items=await _database.query(tableName,orderBy: 'id ${desc?'desc':'asc'}');
7574
return items;
7675
}
76+
7777
}

0 commit comments

Comments
 (0)