CRUD Operations
# Creates collection myCollection and inserts data
> db.myCollection.insertOne( { x: 1 } );
# List data from collection
> db.getCollection("myCollection")
# same as db.myCollection.find()
> db.getCollection("myCollection").find()
References
- MongoDB Cheat sheet | MongoDB