Type Parameters

  • DB
  • TB extends keyof DB
  • O

Implements

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • DB
    • TB extends string | number | symbol
    • O

    Parameters

    • props: CaseBuilderProps

    Returns CaseEndBuilder<DB, TB, O>

Properties

#private: any

Methods

  • Adds an end keyword to the case operator.

    case operators can only be used as part of a query. For a case statement used as part of a stored program, use endCase instead.

    Returns ExpressionWrapper<DB, TB, O>

  • Adds end case keywords to the case statement.

    case statements can only be used for flow control in stored programs. For a case operator used as part of a query, use end instead.

    Returns ExpressionWrapper<DB, TB, O>