MCPcopy
hub / github.com/sequelize/sequelize / set

Function set

test/integration/instance/update.test.js:44–47  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

42 allowNull: true,
43 validate: { isInt: true },
44 set(val) {
45 this.setDataValue('validateSideEffect', val);
46 this.setDataValue('validateSideAffected', val * 2);
47 }
48 },
49 validateSideAffected: {
50 type: DataTypes.INTEGER,

Callers

nothing calls this directly

Calls 1

setDataValueMethod · 0.80

Tested by

no test coverage detected