MongoDB Client: Connected or Not connected
Hello. I am using better-auth for the first time. I am using MongoDB as my database. Now, my questions is, should I pass a
Here is my current code. It works so far. (Kindly ignore the
connected MongoDB client or just a normal MongoClient, and better-auth will do the connection itself?Here is my current code. It works so far. (Kindly ignore the
Property 'db' does not exist on type '{ success: true; client: MongoClient; } | { success: false; } error mongodbAdapter(client.db()) I am in the midst of a refactor'.