I'm trying to do some calculations with a field and select the value. In my attributes I have:
attributes: ['username', 'last_activity', '(last_activity - 1000) as test']
That doesn't work, since it encloses the SQL in quotes.
How can I do something like this with Sequelize?