LCOV - code coverage report
Current view: top level - matchscore/domain/bracket_match_slot - query.clj Coverage Total Hit
Test: lcov.info Lines: 100.0 % 9 9
Test Date: 2026-11-23 18:11:10 Functions: - 0 0

            Line data    Source code
       1            4 : (ns matchscore.domain.bracket-match-slot.query
       2              :   (:require
       3              :    [matchscore.domain.bracket-match-slot.repository.postgres :as postgres-repo]))
       4              : 
       5              : 
       6            4 : (defn get-bracket-match-slot
       7              :  "Retrieves a bracket match slot by ID. Returns BracketMatchSlot map or nil."
       8              :  [repo id]
       9            4 :  (postgres-repo/find-by-id repo id))
      10              : 
      11              : 
      12            4 : (defn get-bracket-match-slots-by-match
      13              :  "Retrieves both slots (home+away) for a bracket match, ordered by slot. Returns seq."
      14              :  [repo bracket-match-id]
      15            4 :  (postgres-repo/find-by-bracket-match-id repo bracket-match-id))
      16              : 
      17              : 
      18            4 : (defn get-bracket-match-slots-by-match-ids
      19              :  "Retrieves all slots for multiple matches in one batch. Returns seq."
      20              :  [repo bracket-match-ids]
      21            4 :  (postgres-repo/find-by-bracket-match-ids repo bracket-match-ids))
      22              : 
      23              : 
      24            4 : (defn search-bracket-match-slots
      25              :  "Search bracket match slots by filters and pagination. Returns paginated result."
      26              :  [repo filters pagination]
      27            5 :  (postgres-repo/search repo filters pagination))
        

Generated by: LCOV version 2.0-1