pub fn sql_check(db: Db) -> impl Fn() -> CheckFuture + Send + SyncExpand description
A check that the database answers SELECT 1 through db’s existing
pool. SQL backends only: on MongoDB or Redis it fails, so write a
check with the client the app already has.