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

Method constructor

tests/perf/eager-loading-cycle.test.ts:56–60  ·  view source on GitHub ↗
({ author, publisher, title }: { author: Author; publisher: Publisher; title: string })

Source from the content-addressed store, hash-verified

54 publisher?: Ref<Publisher>;
55
56 constructor({ author, publisher, title }: { author: Author; publisher: Publisher; title: string }) {
57 this.author = ref(author);
58 this.publisher = ref(publisher);
59 this.title = title;
60 }
61}
62
63@Entity()

Callers

nothing calls this directly

Calls 1

refFunction · 0.90

Tested by

no test coverage detected