How can I see my collection in Replit?

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?

1 Like

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.

1 Like