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 full)

Constructors

Properties

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

Accessors

Methods

  • Creates a function that can be used to collect bind parameters.

    Parameters

    • bind: Record<string, unknown>

      A mutable object to which bind parameters will be added.

    Returns ((newBind) => string)

      • (newBind): string
      • Parameters

        • newBind: unknown

        Returns string