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

Method constructor

packages/sql/src/plugin/transformer.ts:74–80  ·  view source on GitHub ↗
(em: SqlEntityManager, options: MikroKyselyPluginOptions = {})

Source from the content-addressed store, hash-verified

72 readonly #options: MikroKyselyPluginOptions;
73
74 constructor(em: SqlEntityManager, options: MikroKyselyPluginOptions = {}) {
75 super();
76 this.#em = em;
77 this.#options = options;
78 this.#metadata = em.getMetadata();
79 this.#platform = em.getDriver().getPlatform();
80 }
81
82 reset(): void {
83 this.#subqueryAliasMap.clear();

Callers

nothing calls this directly

Calls 3

getMetadataMethod · 0.65
getPlatformMethod · 0.65
getDriverMethod · 0.45

Tested by

no test coverage detected