sequelize delete password field when res.json code example
Example: don't get password sequelize
var User = sequelize.define('user', attributes);
User.findAll({
attributes: {
exclude: ['password']
}
});
var User = sequelize.define('user', attributes);
User.findAll({
attributes: {
exclude: ['password']
}
});