Documentation
    Preparing search index...

    Class MariaDbQueryGeneratorInternal<Dialect>

    Type Parameters

    Hierarchy (View Summary)

    Index
    dialect: Dialect
    whereSqlBuilder: WhereSqlBuilder
    • get queryGenerator(): Dialect["queryGenerator"]

      Returns Dialect["queryGenerator"]

    • get sequelize(): Sequelize

      Returns Sequelize

    • Throws if columns of this SQL type cannot be unique in this dialect. Used by attributeToSql before adding UNIQUE to a column definition, to throw a clear error instead of the one of the database.

      Parameters

      • columnName: string | undefined

        The name of the column

      • sqlType: string

        The SQL type of the column, as returned by the data type

      • Optionaloptions: UniqueTypeOptions

        The length of the prefix of the column that is part of the unique index, if any (prefixLength)

      Returns void

    • Returns whether columns of this SQL type can be unique in this dialect.

      Parameters

      • _sqlType: string

        The SQL type of the column, as returned by the data type

      • Optional_options: UniqueTypeOptions

        The length of the prefix of the column that is part of the unique index, if any (prefixLength)

      Returns boolean

    • Returns the alias token 'AS' after FROM clause.

      Returns string

    • Parameters

      Returns
          | "DEFERRABLE INITIALLY DEFERRED"
          | "DEFERRABLE INITIALLY IMMEDIATE"
          | "NOT DEFERRABLE"