When i ran string mongo query on rails simple code { find: {status: 1}, order: {status: 1}, limit: 10}
like this working fine with eval
function but this code not working eval on eval
"{ find : {status: 10, $expr: {$ne: ['$published_task_count', '$finished_task_count']}}}"
any solution run string mongo query on rails
Aucun commentaire:
Enregistrer un commentaire