How do I add documents to collections from the mongo shell on digitalocean?

September 24, 2015 1.2k views
MongoDB DigitalOcean Node.js

Hey there! I am using Meteor and created a mongo collection in my main .js file. I was just wondering how I could add documents to that collection though the shell on the droplet website?


The line of code which defines the collection in js is:
Performers = new Mongo.Collection("performers");

Be the first one to answer this question.