i'm making a liveness endpoint for my prisma app -...
# orm-help
j
i'm making a liveness endpoint for my prisma app - is there any way to determine if there is an open connection to my postgres db?
n
Hey Jonathan 👋 We have a Feature Request for this use case: #13264 If you could leave a 👍 to the request it would help our team in prioritising it. At the moment there is no way, Prisma lazily connects to the database when the first query is executed. You could explicitly use $connect or $disconnect though.