Fehlende Methoden für Games Datenbank inplementieren #76

Merged
flixcoo merged 35 commits from feature/74-fehlende-methoden-für-games-datenbank-inplementieren into development 2025-12-05 17:54:13 +00:00
Showing only changes of commit 40a3c1b82e - Show all commits

View File

@@ -11,8 +11,7 @@ class GroupGameDao extends DatabaseAccessor<AppDatabase>
GroupGameDao(super.db); GroupGameDao(super.db);
/// Associates a group with a game by inserting a record into the /// Associates a group with a game by inserting a record into the
/// [GroupGameTable]. If there is already group associated to the game, /// [GroupGameTable].
/// it will be replaced.
Future<void> addGroupToGame({ Future<void> addGroupToGame({
required String gameId, required String gameId,
required String groupId, required String groupId,
flixcoo marked this conversation as resolved
Review

sind hier nicht addGroupToGame und updateGroupOfGame redundant? Zumindest steht bei addGroupToGame ja, dass es replaced wird, wenn's existiert

sind hier nicht addGroupToGame und updateGroupOfGame redundant? Zumindest steht bei addGroupToGame ja, dass es replaced wird, wenn's existiert