Creates an object which represents a column in the DB, this allows referencing another column in your query.
This is often useful in conjunction with @sequelize/core!sql.fn, @sequelize/core!sql.where and @sequelize/core!sql which interpret strings as values and not column names.
Creates an object which represents a column in the DB, this allows referencing another column in your query. This is often useful in conjunction with @sequelize/core!sql.fn, @sequelize/core!sql.where and @sequelize/core!sql which interpret strings as values and not column names.
Col works similarly to @sequelize/core!sql.identifier, but "*" has special meaning, for backwards compatibility.
⚠️ We recommend using @sequelize/core!sql.identifier, or @sequelize/core!sql.attribute instead.