1

To validate data in AZ sequelize use the following command.

ValidateMe sequelize.define var = ('Foo', {
   foo: {
     type: Sequelize.STRING,
     validate: {
       is: ["^ [az] + $", "i"], / / will only allow letters
}

I would like to include some specific characters like (". / _ +"). How can I do?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.