elioria-sst-x
    Preparing search index...

    Class SupabaseInvestigationMemberRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByInvestigation.

      Parameters

      • investigationId: string

        The investigationId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<InvestigationMember[]>

      The function result.

      Objective: In module packages/db/src/repositories/investigacao-v2.repository.ts, retrieve data through findByInvestigation.

      Behavior: Async; accepts investigationId and tenantId; returns a value; invokes this.db .select() .from(investigationMembers) .where( and( e.

    • Generated

      Executes remove.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      • removedAt: Date

        The removedAt value.

      Returns Promise<void>

      The function result.

      Objective: In module packages/db/src/repositories/investigacao-v2.repository.ts, run remove.

      Behavior: Async; accepts id and tenantId and removedAt; returns a value; invokes this.db .update(investigationMembers) .set({ removedAt }) .w.