I have a mongoose model that has an association with a user model e.g.
var exampleSchema = mongoose.Schema({ name: String,
Since Node 8.3, you can also use Object Spread syntax.
var model = new Example({ ...req.body, userId: req.user._id });
Note that order matters, with later values overriding previous ones.