title: Adding 'virtual' variables to a mongoose schema?
body: <p>I have the following document schema:</p>
  
  <pre><code>var pageSchema = new Schema({
        name: String
      , desc: String
      , url: String
  })
  </code></pre>
  
  <p>Now, in my application I would like to also have the html source of the page inside the object, but I do not want to store it in the db. </p>
  
  <p>Should I create a "local" enhanced object which has a reference to the db document?</p>
  
  <pre><code>function Page (docModel, html) {
      this._docModel = docModel
      this._html = html
  }
  </code></pre>
  
  <p>Is there a way to use the document model directly by adding a "virtual" field?</p>