How to update an array in Sequelize Postgres
I have a user model in Sequelize for a Postgres db: var User = sequelize.define('User', { fb_id: DataTypes.STRING, access_token: DataTypes.TEXT, first_name: DataTypes.STRING, last_name: DataTypes.STRING, email: DataTypes.TEXT, profilePictureURL: DataTypes.TEXT, library: DataTypes.ARRAY(DataTypes.STRING) }, { underscored: true, classMethods: { associate: function(models) { } } }); I am trying to update the library field by adding ISBNs to the array.
https://stackoverflow.com/questions/41924281/how-to-update-an-array-in-sequelize-postgres