elioria-sst-x
    Preparing search index...

    Implements

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

    The db value.

    • Generated

      Returns the result of findById.

      Parameters

      • id: string

        The id value.

      Returns Promise<BrioPrompt | null>

      The function result.

      Objective: In module packages/db/src/repositories/brio-prompt.repository.ts, retrieve data through findById.

      Behavior: Async; accepts id; returns a value; invokes this.db .select() .from(brioPrompts) .where(eq(brioPrompts.i.

    • Generated

      Returns the result of findByProfile.

      Parameters

      • profile: UserProfile

        The profile value.

      Returns Promise<BrioPrompt[]>

      The function result.

      Objective: In module packages/db/src/repositories/brio-prompt.repository.ts, retrieve data through findByProfile.

      Behavior: Async; accepts profile; returns a value; invokes this.db .select() .from(brioPrompts) .where(and(eq(brioPromp.

    • Generated

      Returns the result of findByProfileAndCategory.

      Parameters

      • profile: UserProfile

        The profile value.

      • category: BrioPromptCategory

        The category value.

      Returns Promise<BrioPrompt[]>

      The function result.

      Objective: In module packages/db/src/repositories/brio-prompt.repository.ts, retrieve data through findByProfileAndCategory.

      Behavior: Async; accepts profile and category; returns a value; invokes this.db .select() .from(brioPrompts) .where( and( eq(brioPro.