title: Reverse models relationship in mongoose?
body: <p>I have two schemas (Portfolio and Projects that relate to portfolios):</p>
  
  <pre><code>portfolioSchema = new Schema({
      name: {type: String, required: true, unique: true},
      isActive: {type: Boolean, default: true}
  });
  
  projectSchema = new Schema({
      name: {type: String, required: true, unique: true},
      isActive: {type: Boolean, required: true, default: true},
      portfolio: {type: mongoose.Schema.Types.ObjectId, ref: 'portfolioSchema', required: true},
      isCodeBaseFullyOwned: {type: Boolean, required: true, default: false}
  });
  </code></pre>
  
  <p>Is there a way to select all portfolios and 'populate' their relevant projects? I can group projects by portfolio but then if there are no projects in a portfolio I would have to figure a way to additionally pull this information, too.</p>