My project is Austerlitz - Replit and I have set a collection call arrayOfPeople, but I want to see it in order to test some methods like sort().
How can I do that?
My project is Austerlitz - Replit and I have set a collection call arrayOfPeople, but I want to see it in order to test some methods like sort().
How can I do that?
Do you know how to query a Mongo collection?
No. I do not know it. I just have found the article.
I suggest working through the MongoDB and Mongoose curriculum to familiarize yourself with how to query a database and then if you still have trouble, then you can post the code you have tried and we can help guide you to a solution.