Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deletemany is not function #745

Closed
rathipradha opened this issue May 18, 2020 · 1 comment
Closed

deletemany is not function #745

rathipradha opened this issue May 18, 2020 · 1 comment

Comments

@rathipradha
Copy link

rathipradha commented May 18, 2020

deletemany is not function(ERROR)

rest.deleteMany({'_id': {$in:[ObjectId("5ae4c2aa3bf923ae6cda6a67"),ObjectId("5b068e30b901e0547455fe60"),ObjectId("5b0bd3431f135383c812d0e5")]} }), function (err,doc) {

})

Iam usingmongod --->db version v4.2.3

Please help me to rectify the issue..for same db 'remove' is working properly

@jmikola
Copy link
Member

jmikola commented May 18, 2020

@rathipradha: Your issue does not appear related to the PHP driver. If you're asking about the MongoDB shell, please consult the db.collection.deleteMany documentation and considering taking any outstanding question to the MongoDB Community Forums.

If you do actually have a question about the PHP driver/library, please revise your original post and provide as much information as possible that we request in the "Bug Report" template for new issues (see here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants