elioria-sst-x
    Preparing search index...

    Class SupabaseAsoExameComplementarRepository

    Implements

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

    The db value.

    • Generated

      Executes delete.

      Parameters

      • id: string

        The id value.

      • tenantId: string

        The tenantId value.

      Returns Promise<boolean>

      The function result.

      Objective: In module packages/db/src/repositories/pcmso.repository.ts, run delete.

      Behavior: Async; accepts id and tenantId; returns a value; invokes this.db .delete(asoExamesComplementares) .where.

    • Generated

      Returns the result of findByAso.

      Parameters

      • asoRecordId: string

        The asoRecordId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<AsoExameComplementar[]>

      The function result.

      Objective: In module packages/db/src/repositories/pcmso.repository.ts, retrieve data through findByAso.

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