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

Class C

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

Source from the content-addressed store, hash-verified

54
55@Entity()
56export class C {
57 @PrimaryKey()
58 id!: number;
59
60 @OneToMany(() => TC, b => b.c)
61 tc = new Collection<TC>(this);
62
63 @OneToMany(() => T, b => b.init)
64 t = new Collection<T>(this);
65
66 @OneToMany(() => B, b => b.sub, { nullable: true })
67 bs? = new Collection<B>(this);
68}
69
70@Filter({
71 name: 'vis',

Callers

nothing calls this directly

Calls 2

PrimaryKeyFunction · 0.90
OneToManyFunction · 0.90

Tested by

no test coverage detected