I have a quick question, what is the fast way to grab and delete an object from a mongo collection. Here is the code, I have currently:
$cursor = $coll->find(
I am new to mongodb and not entirely sure what your query is trying to do, but here is how I would do it
mongodb
# suppose database is staging # suppose collection is data use staging db.data.remove()
where is a map and can contain any search criteria you want
Not sure if this would help you.