elioria-sst-x
    Preparing search index...

    Class SupabaseTrainingSessionAttachmentRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findBySession.

      Parameters

      • sessionId: string

        The sessionId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<TrainingSessionAttachment[]>

      The function result.

      Objective: In module packages/db/src/repositories/training-session-attachment.repository.ts, retrieve data through findBySession.

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

    • Generated

      Returns the result of findBySessionDay.

      Parameters

      • sessionDayId: string

        The sessionDayId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<TrainingSessionAttachment[]>

      The function result.

      Objective: In module packages/db/src/repositories/training-session-attachment.repository.ts, retrieve data through findBySessionDay.

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