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

Function set

test/integration/model/attributes/types.test.js:18–21  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

16 field1: {
17 type: Sequelize.VIRTUAL,
18 set(val) {
19 this.setDataValue('storage', val);
20 this.setDataValue('field1', val);
21 },
22 get() {
23 return this.getDataValue('field1');
24 }

Callers

nothing calls this directly

Calls 1

setDataValueMethod · 0.80

Tested by

no test coverage detected