* Ensures this entity is loaded (without reloading it if it already is). Returns the entity, or `null` if it * was not found in the database (e.g. it was deleted in the meantime, or active filters disallow loading it). * Use `loadOrFail()` if you want an error to be thrown in such a case.
(
options?: LoadReferenceOptions<Entity, Hint, Fields, Excludes>,
)
| 195 | * Use `loadOrFail()` if you want an error to be thrown in such a case. |
| 196 | */ |
| 197 | load< |
| 198 | Entity extends this = this, |
| 199 | Hint extends string = never, |
| 200 | Fields extends string = never, |
no outgoing calls