Using: restaurants (mongo)

Write your statement below and press "Run" to see the result.


Back to Playground overview

Reset

Click here to reset the database to its initial state (all your changes will be lost).

Tips

Enter MongoDB Javascript commands in the text area. Pressing "Run" will present the result of the MongoDB shell output. Try db.getCollectionNames(); to see defined collections and db.COLLECTIONAME.find(); to retrieve a list of documents inside the given collection. See the MongoDB reference for useful commands.


© Principles of Database Management 2024.
Send us your feedback.