elioria-sst-x
    Preparing search index...

    Class SupabasePredictionResultRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByModel.

      Parameters

      • modelId: string

        The modelId value.

      Returns Promise<PredictionResult[]>

      The function result.

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

      Behavior: Async; accepts modelId; returns a value; invokes this.db .select() .from(predictionResults) .where(eq(predict.

    • Generated

      Returns the result of findByTenant.

      Parameters

      • tenantId: string

        The tenantId value.

      Returns Promise<PredictionResult[]>

      The function result.

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

      Behavior: Async; accepts tenantId; returns a value; invokes this.db .select() .from(predictionResults) .where(eq(predict.