elioria-sst-x
    Preparing search index...

    Class SupabaseSubscriptionRepository

    Implements

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

    The db value.

    • Generated

      Returns the result of findByStripeSubscriptionId.

      Parameters

      • stripeSubId: string

        The stripeSubId value.

      Returns Promise<Subscription | null>

      The function result.

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

      Behavior: Async; accepts stripeSubId; returns a value; invokes this.db .select() .from(subscriptions) .where(eq(subscriptio.