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

Method constructor

tests/features/upsert/upsert.test.ts:84–87  ·  view source on GitHub ↗
(name: string, author: Author)

Source from the content-addressed store, hash-verified

82 name: string;
83
84 constructor(name: string, author: Author) {
85 this.name = name;
86 this.author = ref(author);
87 }
88}
89
90@Entity()

Callers

nothing calls this directly

Calls 1

refFunction · 0.90

Tested by

no test coverage detected