title: How to save object in mongoose
body: <p>I want to use object to combine admins, but I cant figure out. Here is the schema and code</p>
  
  <pre><code>UserSchema = new mongoose.Schema({
    name: { type:String },
    owner : {
      Admin       : mongoose.Schema.Types.ObjectId
      }
  });
  </code></pre>
  
  <p>And saving function:</p>
  
  <pre><code>user.name = 'nerkn';
  user.owner={ Admin     :new ObjectId(Adminid)} // this is from another user
  
  
  el  = req.db.model('Users')(user)
  el.save((err)=&gt;{console.log(err)})
  console.log('el', el)
  </code></pre>
  
  <p>when I check name is saved but owner.Admin is not. </p>