Question with passport and postgresql

I have a question, I’m making an application that uses passportjs for authentication, on the official website to find the user the findUser method is used (which if I remember correctly belongs to mongoose and mongodb), but I’m using postgresql, the equivalent to findUser in postgresql what would it be?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.