title: Applying getters on a "find" query in Mongoose?
body: <p>Sorry if this has been asked before (I've searched, honestly).</p>
  
  <p>Basically, I have a simple schema:</p>
  
  <pre><code>var ProductSchema = new Schema({
    name: {type: String},
    image: {type: String, get: getImageUrl},
    stock: {type: Number},
    price: {type: Number},
    description: String
  });
  </code></pre>
  
  <p>where </p>
  
  <pre><code>var getImageUrl = function(imgUrl) {
    if (imgUrl.indexOf('http://') !== 0) {
      return 'http://' + os.hostname() + (app.port ? app.port : '') + '/public/' + imgUrl;
    } else {
      return imgUrl;
    }
  };
  </code></pre>
  
  <p>The getter itself works, if I retrieve a specific item from the database, but not when I try to use <code>Product.find()</code> or other queries, the getter doesn't get apply, and I get the "raw" (unprocessed) property. I've tried using <code>Product.find({}, [], {getters: true}</code> to no avail. Am I missing something?</p>
  
  <p>EDIT - using mongod version 1.8.5 and mongoose 2.5.10</p>