Thursday 29 August 2019

Problem with Mongo

Newbie with node here!I'm trying to make a connection with a database in my cluster but when I execute the script it returns "MongoError: MongoClient must be connected before calling MongoClient.prototype.db". I've already checked my code but without any avail. Does anyone know why this might be happening? Thanks beforehand

Submitted August 29, 2019 at 08:22AM by U_L_Uus

No comments:

Post a Comment