Answer the question
In order to leave comments, you need to log in
What is wrong in mongoose schema when setting mixed data type MIxed?
Here is a workable mongoose schema:
var schema = mongoose.Schema({
title: String,
name: String
});
var schema = mongoose.Schema({
title: String,
name: Schema.Types.Mixed
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question