I'm having trouble trying understand which is the collection I'm saving the document to. I have the following piece of code:
var message = mongoose.Schema({
created: {type: Date, default: Date.now}
});
var message_temp = mongoose.model('message', message);
Now what can I do to save that message to a specific collection? If I do
message.save(function(err){});
Where is the message actually kept?