* Gets the platform instance. Just like the driver, platform is singleton, one for a MikroORM instance.
()
| 170 | * Gets the platform instance. Just like the driver, platform is singleton, one for a MikroORM instance. |
| 171 | */ |
| 172 | getPlatform(): ReturnType<Driver['getPlatform']> { |
| 173 | return this.driver.getPlatform() as ReturnType<Driver['getPlatform']>; |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Gets repository for given entity. You can pass either string name or entity class reference. |
no test coverage detected