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

            Line data    Source code
       1            4 : (ns matchscore.domain.class.query
       2              :   (:require
       3              :    [matchscore.domain.class.repository.postgres :as postgres-repo]))
       4              : 
       5              : 
       6            4 : (defn get-class
       7              :  "Retrieves a class by ID. Returns Class map or nil."
       8              :  [repo id]
       9           16 :  (postgres-repo/find-by-id repo id))
      10              : 
      11              : 
      12            4 : (defn search-classes
      13              :  "Search classes by filters and pagination. Returns paginated result."
      14              :  [repo filters pagination]
      15            5 :  (postgres-repo/search repo filters pagination))
      16              : 
      17              : 
      18            4 : (defn get-classes-by-event-ids
      19              :  [repo event-ids]
      20            4 :  (postgres-repo/find-by-event-ids repo event-ids))
      21              : 
      22              : 
      23            4 : (defn get-classes-by-event-id
      24              :  "Retrieves classes by a single event ID. Returns a vector of Class maps."
      25              :  [repo event-id]
      26           12 :  (postgres-repo/find-by-event-id repo event-id))
      27              : 
      28              : 
      29            4 : (defn get-classes-by-stage-ids
      30              :  "Retrieves the class for each stage UUID (via stages.class_id).
      31              :    Returns a seq of {:stage-id \"uuid\" :class {..}}."
      32              :  [repo stage-ids]
      33            4 :  (postgres-repo/find-by-stage-ids repo stage-ids))
        

Generated by: LCOV version 2.0-1