Validator
Validate data input
Validation is a way to validate document. That being said, for example, if a column is declared to be an email, it should also have correct format.
DAB won't automatically validate a document. You must execute it manually using dab.validateDoc()
call.
DAB will try to validate document if:
Its schema collection (i.e:
attributes
) isn't emptyExplicitly defined in
validator
options
All validator.js method are supported:
Last updated