不要怂,就是干,撸起袖子干!

Commit e11392e9 by Jan Aagaard Meier

Merge pull request #4236 from phodal/master

[ci skip] Update api docs in data-types.js
2 parents d174b875 ef5eca6f
Showing with 1 additions and 1 deletions
...@@ -641,7 +641,7 @@ UUIDV4.prototype.validate = function(value) { ...@@ -641,7 +641,7 @@ UUIDV4.prototype.validate = function(value) {
* You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example: * You could also use it to validate a value before permuting and storing it. Checking password length before hashing it for example:
* ```js * ```js
* sequelize.define('user', { * sequelize.define('user', {
* password_hash: DataTypes.STRING * password_hash: DataTypes.STRING,
* password: { * password: {
* type: DataTypes.VIRTUAL, * type: DataTypes.VIRTUAL,
* set: function (val) { * set: function (val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!