skip to Main Content

Mongodb – node app.js is not working when i am linking with mongod

const timeoutError = new error_1.MongoServerSelectionError(Server selection timed out after ${serverSelectionTimeoutMS} ms, this.description); MongoServerSelectionError: connect ECONNREFUSED ::1:27017 at Timeout._onTimeout (C:Users*DesktopMONGODBNEW SERVERnode_modulesmongodblibsdamtopology.js:278:38) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) { reason: TopologyDescription { type: 'Unknown', servers: Map(1) { 'localhost:27017' => ServerDescription { address:…

VIEW QUESTION

Javascript – Remove alias to string text

please help me, I have a string that corresponds to a SQL query; let string = `SPMAMA.DOCUMENTO AS DOCUMENTO_MAMA, NVL(SPMAMA.CARNETSALUS,SPMAMA_N.CARNETSALUS) AS CARNETSALUS_MAMA, NVL(SPMAMA.NOMBRE1 || ' ' || SPMAMA.NOMBRE2 || ' ' || SPMAMA.APELLIDO1 || ' ' || SPMAMA.APELLIDO2, SPMAMA_N.NOMBRE1 ||…

VIEW QUESTION
Back To Top
Search