prepare("SELECT * FROM rounds WHERE id = ?"); $stmt->execute([$id]); return $stmt->fetch(); } /** * Holt alle Runden einer Season */ public static function getBySeason($seasonId) { $db = Database::getConnection(); $stmt = $db->prepare("SELECT * FROM rounds WHERE season_id = ? ORDER BY id ASC"); $stmt->execute([$seasonId]); return $stmt->fetchAll(); } }