| 54 | |
| 55 | @Entity() |
| 56 | export 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', |
nothing calls this directly
no test coverage detected