我有数组[object] schema:
var operation = new Schema({
name:{type:String},
number:[Number],
});
var Info = new Schema({
operation:[operation],
});
当operation.name =' jack';
如何通过Info Schema查询条件?
Info.findOne({
condition
},function(e,r){
});