Collections that are listed and others not on Node Express

0

I have created some applications in Node Express, and lately my projects have had strange behaviors, for example, I have used a certain method to list the records of my collection in MongoDB, and at another time I use the same algorithm to list another collection and it does not work, I have already shown my project to two expert colleagues and they suspect it is my database, for fear of losing my old database, I have already tried out the new database created and realized that my old database is listing perfectly while the new databases can not list anything and it gives as an empty Array.

How do I identify what's different in my old collections with the newly created collections to see what's influencing the new database you've created?

I have installed the MongoDB Compass Community on my computer, but I can install another one to help me with the tests.

If I'm listing the collections in direct command mode in the bank I get it!

    
asked by anonymous 12.07.2018 / 12:38

0 answers