XEdwin / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

Patch for bulkDelete #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

somehow I cannot change the issues type to "enhancement" :)

Please find attached a patch that will enable the bulkDelete feature.

Daniel

Original issue reported on code.google.com by truem...@gmail.com on 1 Sep 2009 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
I committed this in a slightly changed form. I introduced proxy deletion 
objects that
just copy the id and rev from the original docs and have the "_deleted" 
property set.
This prevents unescessary JSONifying of documents about to be bulk-deleted and 
makes
the "_deleted" property in BaseDocument unnescessary.

Original comment by ff...@gmx.de on 5 Sep 2009 at 10:12

GoogleCodeExporter commented 9 years ago
I also added the missing DatabaseEventHander calls .

Original comment by ff...@gmx.de on 5 Sep 2009 at 10:15