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

Class Book

tests/features/populate-hints.test.ts:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36@Entity()
37class Book {
38 @PrimaryKey()
39 id!: number;
40
41 @Property()
42 title!: string;
43
44 @ManyToOne(() => Author)
45 author!: Author;
46}
47
48describe('populateHints', () => {
49 let orm: MikroORM;

Callers

nothing calls this directly

Calls 4

EntityFunction · 0.90
PrimaryKeyFunction · 0.90
PropertyFunction · 0.90
ManyToOneFunction · 0.90

Tested by

no test coverage detected