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

Method constructor

tests/issues/GH4759.test.ts:68–72  ·  view source on GitHub ↗
(releaseDate: Date = new Date(), name: string, author: Author)

Source from the content-addressed store, hash-verified

66 author!: Ref<Author>;
67
68 constructor(releaseDate: Date = new Date(), name: string, author: Author) {
69 this.releaseDate = releaseDate;
70 this.name = name;
71 this.author = ref(author);
72 }
73}
74
75let orm: MikroORM;

Callers

nothing calls this directly

Calls 1

refFunction · 0.90

Tested by

no test coverage detected