Details
Description
db.mycoll.deleteOne([])
|
2016-10-13T22:51:09.884+0200 E QUERY [thread1] TypeError: err.hasWriteErrors is not a function :
|
DBCollection.prototype.deleteOne@src/mongo/shell/crud_api.js:328:13
|
@(shell):1:1
|
I accidentally ran deleteOne with an array. When you do that you should get an error, but I think this is an internal bug in the shell.
BTW: I couldn't find the right project for the shell, so I filed it under tools.