elioria-sst-x
    Preparing search index...

    Implements

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

    The db value.

    • Generated

      Returns the result of findByTenant.

      Parameters

      • tenantId: string

        The tenantId value.

      • limit: number = 50

        The limit value.

      • offset: number = 0

        The offset value.

      Returns Promise<AuditLog[]>

      The function result.

      Objective: In module packages/db/src/repositories/audit-log.repository.ts, retrieve data through findByTenant.

      Behavior: Async; accepts tenantId and limit and offset; returns a value; invokes this.db .select() .from(auditLogs) .where(eq(auditLogs.tenan.