Skip to main content

TypeORMHealthCheckStrategy

A HealthCheckStrategy used to check the health of the database. This health check is included by default, but can be customized by explicitly adding it to the systemOptions.healthChecks array:

Example

Ts
Signature

constructor

method(options?: TypeORMHealthCheckOptions) => TypeORMHealthCheckStrategy

init

method(injector: Injector) =>

getHealthIndicator

method() => HealthIndicatorFunction
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page