tingodb icon indicating copy to clipboard operation
tingodb copied to clipboard

delete function

Open miton18 opened this issue 10 years ago • 4 comments

Sorry I'm a newbie and you say that tingodb implement mongodb API so we can do

myCollection.insert(....)

but I want to remove somes objects, but I can't do

myCollection.deleteMany({}, {}, function(err, result) {...} );

deleteMany is not a function ?

miton18 avatar Nov 13 '15 20:11 miton18

you named this method remove....

miton18 avatar Nov 16 '15 20:11 miton18

I think this issue has to be reopened @miton18

tingodb declares to be 100% compliant to mongodb API but it's not. It defines an API remove instead of deleteMany and deleteOne, please reopen it !

mirkoperillo avatar Dec 02 '15 12:12 mirkoperillo

I'm agree with you

miton18 avatar Dec 02 '15 12:12 miton18

I need this method. Will you develop it?

lcnvdl avatar Aug 23 '19 23:08 lcnvdl