Poker Texas
Explore posts from serversPPrisma
•Created by Poker Texas on 5/31/2024 in #help-and-questions
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
2 replies