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

Class TC

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

Source from the content-addressed store, hash-verified

107
108@Entity()
109export class TC {
110 @PrimaryKey({ type: 'uuid' })
111 id: string = v4();
112
113 @Property({ nullable: true })
114 bool?: boolean;
115
116 @ManyToOne(() => C, { nullable: true })
117 c?: C;
118
119 @ManyToOne(() => T, { nullable: true })
120 t?: T;
121
122 @OneToMany(() => A, a => a.tc, { eager: true })
123 as? = new Collection<A>(this);
124}
125
126@Entity()
127export class A {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected