* Ensures this entity is loaded (without reloading it if it already is). Returns the entity, or throws an error * just like `em.findOneOrFail()` (and respects the same config options) if it was not found.
(
options?: LoadReferenceOrFailOptions<Entity, Hint, Fields, Excludes>,
)
| 208 | * just like `em.findOneOrFail()` (and respects the same config options) if it was not found. |
| 209 | */ |
| 210 | loadOrFail< |
| 211 | Entity extends this = this, |
| 212 | Hint extends string = never, |
| 213 | Fields extends string = never, |
no outgoing calls
no test coverage detected