MCPcopy Create free account
hub / github.com/sequelize/sequelize-typescript / Task

Class Task

test/specs/model.spec.ts:328–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 const titleSetter = spy();
327
328 @Table({ updatedAt: false, createdAt: false })
329 class Task extends Model {
330 @Column({
331 type: DataType.STRING(50),
332 allowNull: false,
333 defaultValue: '',
334 set: titleSetter,
335 })
336 title: string;
337
338 @DeletedAt
339 deletedAtThisTime: Date;
340 }
341
342 sequelize.addModels([Task]);
343

Callers

nothing calls this directly

Calls 3

TableFunction · 0.90
ColumnFunction · 0.90
DefaultFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…