(val, next)
| 453 | type: Sequelize.INTEGER, |
| 454 | validate: { |
| 455 | customFn(val, next) { |
| 456 | if (val < 0) { |
| 457 | next('age must be greater or equal zero'); |
| 458 | } else { |
| 459 | next(); |
| 460 | } |
| 461 | } |
| 462 | } |
| 463 | }, |
| 464 | name: Sequelize.STRING |
nothing calls this directly
no test coverage detected
searching dependent graphs…