MCPcopy
hub / github.com/sequelize/sequelize / get

Function get

test/types/model.ts:124–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 virtual: {
123 type: new DataTypes.VIRTUAL(DataTypes.BOOLEAN, ['num']),
124 get() {
125 return this.getDataValue('num') + 2;
126 },
127 set(value: number) {
128 this.setDataValue('num', value - 2);
129 }

Callers

nothing calls this directly

Calls 1

getDataValueMethod · 0.80

Tested by

no test coverage detected