title: How do I get the objectID after I save an object in Mongoose?
body: <pre><code>var n = new Chat();
  n.name = "chat room";
  n.save(function(){
      //console.log(THE OBJECT ID that I just saved);
  });
  </code></pre>
  
  <p>I want to console.log the object id of the object I just saved. How do I do that in Mongoose?</p>