Imagine I have defined the following custom validator function:
isUnique: function () { // This works as expected throw new Error({error:[{message:\'Email addr
You can verify if the email already exists like that:
email: { type: Sequelize.STRING, allowNull: false, validate: { isEmail:true }, unique: { args: true, msg: 'Email address already in use!' } }