title: Collection not saved mongodb nodejs
body: <p>I have an issue on my application (mongodb/nodejs), my aim is to save a collection :</p>
  
  <pre><code>const Job = require("../models/Job");
  exports.saveJob = (req, res, next) =&gt; {
      const newJob = new Job(req.body);
      newJob.gender = 'Male';
      newJob.save((err, myjob) =&gt; {
          myjob.code = '1234';
          myjob.save((err, mysavedjob) =&gt; {
  
              console.log(mysavedjob);
              /** OUTPUT **
              * { __v: 0,
                  updatedAt: 2018-07-31T08:31:47.664Z,
                  createdAt: 2018-07-31T08:31:47.664Z,
                  gender:'Male',
                  code:'1234',
                  ...
               }
              */
  
          })
      })
  }
  </code></pre>
  
  <p>As you can see, the code output the saved document, but when I check the database , I don't have the code:'1234' I have just </p>
  
  <pre><code>{ __v: 0,
   updatedAt: 2018-07-31T08:31:47.664Z,
   createdAt: 2018-07-31T08:31:47.664Z,
   gender:'Male',
    ...
  }
  </code></pre>
  
  <p><strong>==== UPDATE (adding the JobModel) ====</strong></p>
  
  <pre><code>const mongoose = require("mongoose");
  const JobSchema = new mongoose.Schema(
    {
      userId: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
      code: String,
      gender: String,
    },
    { timestamps: true }
  );
  
  module.exports = mongoose.model("Job", JobSchema, "jobs");
  </code></pre>
  
  <p>Someone could tell me why please ?
  thank you.</p>