elioria-sst-x
    Preparing search index...

    Class SupabaseInspectionItemRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByInspection.

      Parameters

      • inspectionId: string

        The inspectionId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<InspectionItem[]>

      The function result.

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

      Behavior: Async; accepts inspectionId and tenantId; returns a value; invokes this.db .select() .from(inspectionItems) .where(and(eq(inspe.