Say I have a circuit like
var TempSchema = new Schema({
location: Schema.Types.Mixed
});
json object will be saved
now I want to search for a property inside this field of a json object, can I use the following query?
Temp.find({location.country: {$in: ['US', 'CN', 'JP']}});
source
share