check connection - prisma nextjs

How can I check prisma connection before querying using await prisma.user.findMany() I have the client, but need to check if it was able to connect to my postgres database before i try to query, else i get error if not able to connect to database
0 Replies
No replies yetBe the first to reply to this messageJoin