MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / T

Class T

tests/features/paginate-flag.postgres.test.ts:91–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89})
90@Entity()
91export class T {
92 @PrimaryKey({ type: 'uuid' })
93 id: string = v4();
94
95 @Property()
96 end!: Date;
97
98 @Enum(() => Status)
99 status!: Status;
100
101 @ManyToOne(() => C)
102 init!: C;
103
104 @OneToMany(() => TC, b => b.t)
105 tc = new Collection<TC>(this);
106}
107
108@Entity()
109export class TC {

Callers

nothing calls this directly

Calls 5

PrimaryKeyFunction · 0.90
PropertyFunction · 0.90
EnumFunction · 0.90
ManyToOneFunction · 0.90
OneToManyFunction · 0.90

Tested by

no test coverage detected