Hi team
I have JobApplication model in which one properties is object like
"trello": {
"type":"object"
}
In this column i will stored value like {"id": "XXXXXXX", "status": "xxxxxxx", "webhookId": "xxxxx"}
Now i want to fetch data on the basis of
trello.id, for this i tried
JobApplication.find({
filter: {
where: {
trello: {
id: "xxxxxxx"
}
}
}
}, function(jobApplication) {
console.log(jobApplication);
});
It not work for me. Please suggest the proper method for finding data in object.