DialectSupports: {
    DEFAULT: boolean;
    DEFAULT VALUES: boolean;
    EXCEPTION: boolean;
    IREGEXP: boolean;
    LIMIT ON UPDATE: boolean;
    ON DUPLICATE KEY: boolean;
    ORDER NULLS: boolean;
    REGEXP: boolean;
    RIGHT JOIN: boolean;
    UNION: boolean;
    UNION ALL: boolean;
    VALUES (): boolean;
    alterColumn: {
        unique: boolean;
    };
    autoIncrement: {
        defaultValue: boolean;
        identityInsert: boolean;
        update: boolean;
    };
    bulkDefault: boolean;
    connectionTransactionMethods: boolean;
    constraints: {
        add: boolean;
        check: boolean;
        default: boolean;
        deferrable: boolean;
        foreignKey: boolean;
        foreignKeyChecksDisableable: boolean;
        onUpdate: boolean;
        primaryKey: boolean;
        remove: boolean;
        removeOptions: {
            cascade: boolean;
            ifExists: boolean;
        };
        restrict: boolean;
        unique: boolean;
    };
    createSchema: {
        authorization: boolean;
        charset: boolean;
        collate: boolean;
        comment: boolean;
        ifNotExists: boolean;
        replace: boolean;
    };
    dataTypes: {
        ARRAY: boolean;
        BIGINT: boolean;
        CHAR: boolean;
        CIDR: boolean;
        CITEXT: boolean;
        COLLATE_BINARY: boolean;
        DATEONLY: {
            infinity: boolean;
        };
        DATETIME: {
            infinity: boolean;
        };
        DECIMAL: false | SupportableExactDecimalOptions;
        DOUBLE: SupportableFloatOptions;
        FLOAT: SupportableFloatOptions;
        GEOGRAPHY: boolean;
        GEOMETRY: boolean;
        HSTORE: boolean;
        INET: boolean;
        INTS: SupportableNumericOptions;
        JSON: boolean;
        JSONB: boolean;
        MACADDR: boolean;
        MACADDR8: boolean;
        RANGE: boolean;
        REAL: SupportableFloatOptions;
        TIME: {
            precision: boolean;
        };
        TSVECTOR: boolean;
    };
    delete: {
        limit: boolean;
    };
    dropSchema: {
        cascade: boolean;
        ifExists: boolean;
    };
    dropTable: {
        cascade: boolean;
    };
    escapeStringConstants: boolean;
    finalTable: boolean;
    forShare?: "LOCK IN SHARE MODE" | "FOR SHARE";
    globalTimeZoneConfig: boolean;
    groupedLimit: boolean;
    index: {
        collate: boolean;
        concurrently: boolean;
        functionBased: boolean;
        include: boolean;
        length: boolean;
        operator: boolean;
        parser: boolean;
        type: boolean;
        using: boolean | number;
        where: boolean;
    };
    indexHints: boolean;
    indexViaAlter: boolean;
    inserts: {
        conflictFields: boolean;
        ignoreDuplicates: string;
        onConflictDoNothing: string;
        onConflictWhere: boolean;
        updateOnDuplicate: boolean | string;
    };
    isolationLevels: boolean;
    jsonExtraction: {
        quoted: boolean;
        unquoted: boolean;
    };
    jsonOperations: boolean;
    lock: boolean;
    lockKey: boolean;
    lockOf: boolean;
    lockOuterJoinFailure: boolean;
    maxExecutionTimeHint: {
        select: boolean;
    };
    migrations: boolean;
    multiDatabases: boolean;
    removeColumn: {
        cascade: boolean;
        ifExists: boolean;
    };
    renameTable: {
        changeSchema: boolean;
        changeSchemaAndTable: boolean;
    };
    returnValues: false | "output" | "returning";
    savepoints: boolean;
    schemas: boolean;
    searchPath: boolean;
    settingIsolationLevelDuringTransaction: boolean;
    skipLocked: boolean;
    startTransaction: {
        readOnly: boolean;
        transactionType: boolean;
        useBegin: boolean;
    };
    tableHints: boolean;
    tmpTableTrigger: boolean;
    transactions: boolean;
    truncate: {
        cascade: boolean;
        restartIdentity: boolean;
    };
    upserts: boolean;
    uuidV1Generation: boolean;
    uuidV4Generation: boolean;
}

Type declaration

  • DEFAULT: boolean
  • DEFAULT VALUES: boolean
  • EXCEPTION: boolean
  • IREGEXP: boolean

    Case-insensitive regexp operator support ('~*' in postgres).

  • LIMIT ON UPDATE: boolean
  • ON DUPLICATE KEY: boolean
  • ORDER NULLS: boolean
  • REGEXP: boolean
  • RIGHT JOIN: boolean
  • UNION: boolean
  • UNION ALL: boolean
  • VALUES (): boolean
  • alterColumn: {
        unique: boolean;
    }
    • unique: boolean

      Can "ALTER TABLE x ALTER COLUMN y" add UNIQUE to the column in this dialect?

  • autoIncrement: {
        defaultValue: boolean;
        identityInsert: boolean;
        update: boolean;
    }
    • defaultValue: boolean
    • identityInsert: boolean
    • update: boolean
  • bulkDefault: boolean
  • connectionTransactionMethods: boolean
  • constraints: {
        add: boolean;
        check: boolean;
        default: boolean;
        deferrable: boolean;
        foreignKey: boolean;
        foreignKeyChecksDisableable: boolean;
        onUpdate: boolean;
        primaryKey: boolean;
        remove: boolean;
        removeOptions: {
            cascade: boolean;
            ifExists: boolean;
        };
        restrict: boolean;
        unique: boolean;
    }
    • add: boolean
    • check: boolean
    • default: boolean
    • deferrable: boolean

      This dialect supports marking a column's constraints as deferrable. e.g. 'DEFERRABLE' and 'INITIALLY DEFERRED'

    • foreignKey: boolean
    • foreignKeyChecksDisableable: boolean

      Whether this dialect supports disabling foreign key checks for the current session

    • onUpdate: boolean
    • primaryKey: boolean
    • remove: boolean
    • removeOptions: {
          cascade: boolean;
          ifExists: boolean;
      }
      • cascade: boolean
      • ifExists: boolean
    • restrict: boolean
    • unique: boolean
  • createSchema: {
        authorization: boolean;
        charset: boolean;
        collate: boolean;
        comment: boolean;
        ifNotExists: boolean;
        replace: boolean;
    }
    • authorization: boolean
    • charset: boolean
    • collate: boolean
    • comment: boolean
    • ifNotExists: boolean
    • replace: boolean
  • dataTypes: {
        ARRAY: boolean;
        BIGINT: boolean;
        CHAR: boolean;
        CIDR: boolean;
        CITEXT: boolean;
        COLLATE_BINARY: boolean;
        DATEONLY: {
            infinity: boolean;
        };
        DATETIME: {
            infinity: boolean;
        };
        DECIMAL: false | SupportableExactDecimalOptions;
        DOUBLE: SupportableFloatOptions;
        FLOAT: SupportableFloatOptions;
        GEOGRAPHY: boolean;
        GEOMETRY: boolean;
        HSTORE: boolean;
        INET: boolean;
        INTS: SupportableNumericOptions;
        JSON: boolean;
        JSONB: boolean;
        MACADDR: boolean;
        MACADDR8: boolean;
        RANGE: boolean;
        REAL: SupportableFloatOptions;
        TIME: {
            precision: boolean;
        };
        TSVECTOR: boolean;
    }
    • ARRAY: boolean
    • BIGINT: boolean

      This dialect supports big integers

    • CHAR: boolean
    • CIDR: boolean
    • CITEXT: boolean

      This dialect supports case-insensitive text

    • COLLATE_BINARY: boolean

      Whether this dialect provides a binary collation on text, varchar & char columns.

    • DATEONLY: {
          infinity: boolean;
      }
      • infinity: boolean

        Whether "infinity" is a valid value in this dialect's DATEONLY data type

    • DATETIME: {
          infinity: boolean;
      }
      • infinity: boolean

        Whether "infinity" is a valid value in this dialect's DATETIME data type

    • DECIMAL: false | SupportableExactDecimalOptions

      This dialect supports arbitrary precision numbers

    • DOUBLE: SupportableFloatOptions

      This dialect supports 8 byte long floating point numbers

    • FLOAT: SupportableFloatOptions

      This dialect supports 4 byte long floating point numbers

    • GEOGRAPHY: boolean
    • GEOMETRY: boolean
    • HSTORE: boolean
    • INET: boolean
    • INTS: SupportableNumericOptions

      Options supportable by all int types (from tinyint to bigint)

    • JSON: boolean

      The dialect is considered to support JSON if it provides either:

      • A JSON data type.
      • An SQL function that can be used as a CHECK constraint on a text column, to ensure its contents are valid JSON.
    • JSONB: boolean
    • MACADDR: boolean
    • MACADDR8: boolean
    • RANGE: boolean
    • REAL: SupportableFloatOptions

      Deprecated

    • TIME: {
          precision: boolean;
      }
      • precision: boolean

        Whether the dialect supports TIME(precision)

    • TSVECTOR: boolean
  • delete: {
        limit: boolean;
    }
    • limit: boolean
  • dropSchema: {
        cascade: boolean;
        ifExists: boolean;
    }
    • cascade: boolean
    • ifExists: boolean
  • dropTable: {
        cascade: boolean;
    }
    • cascade: boolean
  • escapeStringConstants: boolean

    This dialect supports E-prefixed strings, e.g. "E'foo'", which enables the ability to use backslash escapes inside the string.

  • finalTable: boolean
  • Optional forShare?: "LOCK IN SHARE MODE" | "FOR SHARE"
  • globalTimeZoneConfig: boolean

    Whether this dialect supports changing the global timezone option

  • groupedLimit: boolean
  • index: {
        collate: boolean;
        concurrently: boolean;
        functionBased: boolean;
        include: boolean;
        length: boolean;
        operator: boolean;
        parser: boolean;
        type: boolean;
        using: boolean | number;
        where: boolean;
    }
    • collate: boolean
    • concurrently: boolean
    • functionBased: boolean
    • include: boolean
    • length: boolean
    • operator: boolean
    • parser: boolean
    • type: boolean
    • using: boolean | number
    • where: boolean
  • indexHints: boolean
  • indexViaAlter: boolean
  • inserts: {
        conflictFields: boolean;
        ignoreDuplicates: string;
        onConflictDoNothing: string;
        onConflictWhere: boolean;
        updateOnDuplicate: boolean | string;
    }
    • conflictFields: boolean
    • ignoreDuplicates: string
    • onConflictDoNothing: string
    • onConflictWhere: boolean
    • updateOnDuplicate: boolean | string
  • isolationLevels: boolean
  • jsonExtraction: {
        quoted: boolean;
        unquoted: boolean;
    }

    Whether this dialect supports returning quoted & unquoted JSON strings

    • quoted: boolean
    • unquoted: boolean
  • jsonOperations: boolean

    Whether this dialect supports SQL JSON functions

  • lock: boolean
  • lockKey: boolean
  • lockOf: boolean
  • lockOuterJoinFailure: boolean
  • maxExecutionTimeHint: {
        select: boolean;
    }
    • select: boolean
  • migrations: boolean
  • multiDatabases: boolean

    Whether this dialect has native support for having multiple databases per instance (in the postgres or mssql sense). For the purposes of Sequelize, a database is considered to be a grouping of schemas. For instance, in MySQL, "CREATE DATABASE" creates what we consider to be a schema, so we do not consider that MySQL supports this option.

  • removeColumn: {
        cascade: boolean;
        ifExists: boolean;
    }
    • cascade: boolean
    • ifExists: boolean
  • renameTable: {
        changeSchema: boolean;
        changeSchemaAndTable: boolean;
    }
    • changeSchema: boolean
    • changeSchemaAndTable: boolean
  • returnValues: false | "output" | "returning"
  • savepoints: boolean
  • schemas: boolean

    Whether this dialect has native support for schemas. For the purposes of Sequelize, a Schema is considered to be a grouping of tables. For instance, in MySQL, "CREATE DATABASE" creates what we consider to be a schema.

  • searchPath: boolean
  • settingIsolationLevelDuringTransaction: boolean
  • skipLocked: boolean
  • startTransaction: {
        readOnly: boolean;
        transactionType: boolean;
        useBegin: boolean;
    }
    • readOnly: boolean
    • transactionType: boolean
    • useBegin: boolean
  • tableHints: boolean
  • tmpTableTrigger: boolean
  • transactions: boolean
  • truncate: {
        cascade: boolean;
        restartIdentity: boolean;
    }
    • cascade: boolean
    • restartIdentity: boolean
  • upserts: boolean
  • uuidV1Generation: boolean

    Whether this dialect provides a native way to generate UUID v1 values

  • uuidV4Generation: boolean

    Whether this dialect provides a native way to generate UUID v4 values