elioria-sst-x
    Preparing search index...

    Class SupabaseEpiRiskSuggestionRepository

    Implements

    Index
    db: PostgresJsDatabase<packages/db/src/schema> & {}

    The db value.

    • Generated

      Returns the result of findByHazardClass.

      Parameters

      • hazardClass: HazardType

        The hazardClass value.

      Returns Promise<EpiRiskSuggestion[]>

      The function result.

      Objective: In module packages/db/src/repositories/epi-risk-suggestion.repository.ts, retrieve data through findByHazardClass.

      Behavior: Async; accepts hazardClass; returns a value; invokes this.db .select() .from(epiRiskSuggestions) .where( and( eq(.

    • Generated

      Returns the result of findByKeyword.

      Parameters

      • keyword: string

        The keyword value.

      Returns Promise<EpiRiskSuggestion[]>

      The function result.

      Objective: In module packages/db/src/repositories/epi-risk-suggestion.repository.ts, retrieve data through findByKeyword.

      Behavior: Async; accepts keyword; returns a value; invokes this.db .select() .from(epiRiskSuggestions) .where( and( ili.