We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 490d92e commit 12a835fCopy full SHA for 12a835f
src/config/dbConnection.js
@@ -4,7 +4,7 @@ const mongoose = require("mongoose");
4
const connectDb = async ()=>{
5
try{
6
const connect = await mongoose.connect(process.env.CONNECTION_STRING);
7
- console.log("Database Connected" :
+ console.log("Database Connected",
8
connect.connection.host,
9
connect.connection.name
10
);
0 commit comments