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

Class ParanoidUser

test/specs/instance.spec.ts:1643–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1641
1642 describe('findAll', () => {
1643 @Table({ timestamps: true, paranoid: true })
1644 class ParanoidUser extends Model {
1645 @Column
1646 username: string;
1647
1648 @ForeignKey(() => ParanoidUser)
1649 @Column
1650 paranoidUserId: number;
1651
1652 @HasOne(() => ParanoidUser)
1653 paranoidUser: ParanoidUser;
1654 }
1655
1656 before(() => sequelize.addModels([ParanoidUser]));
1657

Callers

nothing calls this directly

Calls 3

TableFunction · 0.90
ForeignKeyFunction · 0.90
HasOneFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…