elioria-sst-x
    Preparing search index...

    Class SupabaseEpiDeliveryDivergenceRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByConfirmation.

      Parameters

      • confirmationId: string

        The confirmationId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<EpiDeliveryDivergence[]>

      The function result.

      Objective: In module packages/db/src/repositories/epi-delivery-divergence.repository.ts, retrieve data through findByConfirmation.

      Behavior: Async; accepts confirmationId and tenantId; returns a value; invokes this.db .select() .from(epiDeliveryDivergences) .where( and(.

    • Generated

      Returns the result of findById.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<EpiDeliveryDivergence | null>

      The function result.

      Objective: In module packages/db/src/repositories/epi-delivery-divergence.repository.ts, retrieve data through findById.

      Behavior: Async; accepts id and tenantId; returns a value; invokes this.db .select() .from(epiDeliveryDivergences) .where( and(.

    • Generated

      Returns the result of findOpenByConfirmation.

      Parameters

      • confirmationId: string

        The confirmationId value.

      Returns Promise<EpiDeliveryDivergence | null>

      The function result.

      Objective: In module packages/db/src/repositories/epi-delivery-divergence.repository.ts, retrieve data through findOpenByConfirmation.

      Behavior: Async; accepts confirmationId; returns a value; invokes this.db .select() .from(epiDeliveryDivergences) .where( and(.