I am testing the next 2 query on mongo shell an it works,
But now, I need to perform the same query in reactivemongo
Someone can give me a suggestion for how to make the query in reactivemongo
doc = db.offer.find({"_id": "5704441ea356f55ab590e8f4"})
db.student.update(
{ "_id" : "570681b30fc032dea831c132"},
{ $push: {
"presell": [
{ "_id" : doc }
]
}
}
)
is there a better way to run this query?