title: mongodb and node js embeded query how to use
body: <p>i have this this schema for my users. users can store more then one address now my question is that how i can push embed data object of address in users collection after he register.</p>
  
  <pre><code>var address = new Schema({
      city            : { type: String },
      delivery_area   : {type: String },
      address_title   : { type: String }
  
  });
  
  var UserSchema = new Schema({
      f_name : String,
      l_name : String,
      gender : String,
      email_address : String,
      dob : { type : Date},
      password : String,
      device_type : String,
      reg_id : String,
      addresses :[address]
  });
  
  var User = mongoose.model("Users", UserSchema);
  </code></pre>
  
  <p>this is code i use to save a user but actual problem is now how i can push the multiple address for a user</p>
  
  <pre><code>var a = new users(req.body); 
  a.save(function(err, row){});
  </code></pre>