This is a temporary class used to progressively migrate the AbstractQueryGenerator class to TypeScript by slowly moving its functions here. Always use AbstractQueryGenerator instead.

Type Parameters

Hierarchy (view full)

Constructors

Properties

#internals: AbstractQueryGeneratorInternal<AbstractDialect<object, object>>
dialect: Dialect

Accessors

Methods

  • Parameters

    • _sqlExpression: string

      ⚠️ This is not an identifier, it's a raw SQL expression. It will be inlined in the query.

    • _path: readonly (string | number)[]

      The JSON path, where each item is one level of the path

    • _unquote: boolean

      Whether the result should be unquoted (depending on dialect: ->> and #>> operators, json_unquote function). Defaults to false.

    Returns string