title: how to link 2 collections and also how to modify the internal collection of the 2 collections
body: <p>I am new to mongoDB and I am linking 2 collections but I would like to modify the &quot;descriptions&quot; part without modifying &quot;name_airport&quot;
  in my url I have /api/flights/airports but I would like to modify the &quot;descriptions&quot; with this url : /api/flights/airports/towns{id}</p>
  <p>could you help me please?</p>
  <p>airport.js</p>
  <pre><code>const mongoose = require('mongoose');
  const townSchema = require('../models/Town').schema;
  var id = mongoose.Types.ObjectId('req.params.id');
  
  const airportSchema = new mongoose.Schema({
    name_airport: { type: String, required: true },
    description: [{type: id, ref:'Town'}]
  });
  
  module.exports =  mongoose.models.Airport || mongoose.model('Airport', airportSchema);
  </code></pre>
  <p>town.js</p>
  <pre><code>const mongoose = require('mongoose');
  const townSchema = mongoose.Schema({
     name: { type: String, required: true },
     adress: { type: String, required: true }
  });
  
  module.exports = mongoose.models.Town || mongoose.model('Town', townSchema);
  </code></pre>