Changed method name

This commit is contained in:
2025-11-14 22:31:30 +01:00
parent cbd5e1d0ba
commit 7be86b3d9e
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ class PlayerGameDao extends DatabaseAccessor<AppDatabase>
/// Checks if there are any players associated with the given [gameId].
/// Returns `true` if there are players, otherwise `false`.
Future<bool> hasGamePlayers({required String gameId}) async {
Future<bool> gameHasPlayers({required String gameId}) async {
final count =
await (selectOnly(playerGameTable)
..where(playerGameTable.gameId.equals(gameId))