MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
Showing only changes of commit 71b2f30d29 - Show all commits

View File

@@ -100,7 +100,6 @@ class GameDao extends DatabaseAccessor<AppDatabase> with _$GameDaoMixin {
/// Adds multiple [Game]s to the database in a batch operation. /// Adds multiple [Game]s to the database in a batch operation.
/// Also adds associated players and groups if they exist. /// Also adds associated players and groups if they exist.
/// If the [games] list is empty, the method returns immediately. /// If the [games] list is empty, the method returns immediately.
/// If a game, player, or group already exists, it will be replaced.
Future<void> addGamesAsList({required List<Game> games}) async { Future<void> addGamesAsList({required List<Game> games}) async {
if (games.isEmpty) return; if (games.isEmpty) return;
await db.transaction(() async { await db.transaction(() async {