Class AbstractQueryGenerator<Dialect>

The base class for all query generators, used to generate all SQL queries.

The implementation varies between SQL dialects, and is overridden by subclasses. You can access your dialect's version through Sequelize#queryGenerator.

Type Parameters

Hierarchy (View Summary)

Constructors

Properties

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