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

Method getDriver

packages/core/src/EntityManager.ts:158–160  ·  view source on GitHub ↗

* Gets the Driver instance used by this EntityManager. * Driver is singleton, for one MikroORM instance, only one driver is created.

()

Source from the content-addressed store, hash-verified

156 * Driver is singleton, for one MikroORM instance, only one driver is created.
157 */
158 getDriver(): Driver {
159 return this.driver;
160 }
161
162 /**
163 * Gets the Connection instance, by default returns write connection

Callers 15

aggregateMethod · 0.45
streamAggregateMethod · 0.45
countByMethod · 0.45
executeMethod · 0.45
constructorMethod · 0.45
processIndexWhereMethod · 0.45
constructorMethod · 0.45
isDBConnectedMethod · 0.45
getDriverDependenciesMethod · 0.45
handlerMethod · 0.45
handlerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected