ProtectedoptionsProtectedsequelizeOptionaloptions: AddColumnQueryOptionsOptionaloptions: ArithmeticQueryOptionsGenerates the SQL fragment declaring each of the given columns, keyed by column name.
a map of column descriptions, keyed by attribute name
Optionaloptions: AttributeToSqlOptionsGenerates the SQL fragment that declares a single column, without its name.
Every dialect implements this. It lives here because attributesToSql calls it.
a column description, or the data type of a column
Optionaloptions: AttributeToSqlOptionsOptionaloptions: BulkInsertOptionsOptionalcolumnDefinitions: { [columnName: string]: NormalizedAttributeOptions<Model<any, any>> }Returns a query that commits a transaction.
Optional_options: CreateDatabaseQueryOptionsReturns a query that creates a savepoint.
Optionaloptions: CreateSchemaQueryOptionsOptionaloptions: CreateTableQueryOptionsGenerates an SQL query that drops a foreign key constraint.
The table or associated model.
The name of the foreign key constraint.
Use removeConstraintQuery instead.
Optionaloptions: DropSchemaQueryOptionsOptionaloptions: DropTableQueryOptionsEscapes a value (e.g. a string, number or date) as an SQL value (as opposed to an identifier).
The value to escape
Optionaloptions: EscapeOptions
The options to use when escaping the value
Escapes an array of values (e.g. strings, numbers or dates) as an SQL List of values.
The list of values to escape
Optionaloptions: EscapeOptionsOptionaloptions: { delimiter?: string; schema?: string }Optionaloptions: EscapeOptionsThe goal of this method is to execute the equivalent of json_unquote for the current dialect.
Optionaloptions: EscapeOptionsGenerates a unique identifier for the current transaction.
Generates an SQL query that returns all foreign keys of a table or the foreign key constraint of a given column.
The table or associated model.
Optional_columnName: string
The name of the column. Not supported by SQLite.
The generated SQL query.
Use showConstraintsQuery instead.
OptionalcolumnDefinitions: { [columnName: string]: NormalizedAttributeOptions<Model<any, any>> }Optionaloptions: InsertOptionsProtectedlimitCalled for each column of attributesToSql before it is generated. Dialects that reject more than one cascading constraint to the same table use this to drop the referential actions of the references they cannot accept.
the column about to be generated. Mutate it to change what is emitted
the quoted tables referenced by the columns generated so far. Push to record one
Optional_options: ListDatabasesQueryOptionsOptionaloptions: ListSchemasQueryOptionsOptionaloptions: ListTablesQueryOptionsAdds quotes to identifier
Optional_force: booleanQuote table name with optional alias and schema attribution
table string or object
Optionaloptions: QuoteTableOptions
options
Optionaloptions: RemoveColumnQueryOptionsOptionaloptions: RemoveConstraintQueryOptionsOptionaloptions: RemoveIndexQueryOptionsOptionaloptions: RenameTableQueryOptionsReturns a query that rollbacks a savepoint.
Returns a query that rollbacks a transaction.
Optionaloptions: SelectOptions<M>Optionalmodel: ModelStatic<M>Optionalconstraints: readonly string[]Returns a query that sets the transaction isolation level.
Optionaloptions: ShowConstraintsQueryOptionsReturns a query that starts a transaction.
Optionaloptions: StartTransactionQueryOptionsOptionaloptions: TruncateTableQueryOptionsOptionaloptions: ParameterOptionsOptionalcolumnDefinitions: { [columnName: string]: NormalizedAttributeOptions<Model<any, any>> }Optionaloptions: FormatWhereOptionsOptionaloptions: FormatWhereOptions
Temporary class to ease the TypeScript migration