elioria-sst-x
    Preparing search index...

    Class SupabaseCipaPeDocumentVersionRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByDocument.

      Parameters

      • documentId: string

        The documentId value.

      • tenantId: string

        The tenantId value.

      Returns Promise<CipaPeDocumentVersion[]>

      The function result.

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

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