title: variable collection name in mongodb shell using javascript
body: <p>Using the mongo shell which is javascript:</p>
  
  <pre><code>db.collection.insert() 
  </code></pre>
  
  <p>Can I allow the collections name to be dynamic so as to work with several collections?</p>