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

Function get

test/integration/model.test.js:638–640  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

636 price: {
637 type: Sequelize.INTEGER,
638 get() {
639 return `answer = ${this.getDataValue('price')}`;
640 },
641 set(v) {
642 return this.setDataValue('price', v + 42);
643 }

Callers

nothing calls this directly

Calls 1

getDataValueMethod · 0.80

Tested by

no test coverage detected