Hi, my question is the title. And my example is as below:

var catSchema = new Schema({
    name: String,
    color: String,

var Cat = mongoose.model('Cat', catSchema);

Cat.create({ name: 'me' }, function(err, result) {

Is it possible to get the doc saved with both `name` field and `color` 
Or do I have to explicitly set the `color` to `null`?

I'm hoping for all suggestions.

You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mongoose-users+unsubscr...@googlegroups.com.
To post to this group, send email to mongoose-users@googlegroups.com.
Visit this group at https://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to