nodejs-quickstart
nodejs-quickstart copied to clipboard
This repository contains code samples for the Node.js Quick Start blog post series
Debug added const
Is it normal for each entity to have its own connection to the database? if I have 30 objects will I have 30 connections persistently?
Easier This way
inside connection.js where we are getting all the list of database let/const/var is missing : ``` async function listDatabases(client) { //here databasesList = await client.db().admin().listDatabases(); console.log("Databases:"); databasesList.databases.forEach(db => console.log(` -...