Skip to content

Tag: sequelize.js

returning extra column with formatted date

I have a schema(table) like following in seqluelize: My requirement is whenever I call or use or include this schema order_entry_header in any place in my app I want date column in to format in a readable text in a different column called date_format In simple sql this should be something like below: I am joi…