You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by to...@filbert.org on 2010/09/30 12:07:37 UTC
Bulk delete docs
I´m looking for an efficient way to delete multiple documents.
f.
e. Delete all documents that are created > 1 week ago (this can be
100000 docs).
(I´m using couchrest (rails))
Re: Bulk delete docs
Posted by Simon Metson <si...@googlemail.com>.
there was a thread on this earlier this week - look for "Pruning a
couchdb database" in the archive.
On 30 Sep 2010, at 12:25, Mikeal Rogers wrote:
> Just use normal bulk docs and set _deleted attribute to true in the
> docs you want to delete.
>
> On Thursday, September 30, 2010, <to...@filbert.org> wrote:
>>
>> I´m looking for an efficient way to delete multiple documents.
>>
>> f.
>> e. Delete all documents that are created > 1 week ago (this can be
>> 100000 docs).
>>
>> (I´m using couchrest (rails))
Re: Bulk delete docs
Posted by Mikeal Rogers <mi...@gmail.com>.
Just use normal bulk docs and set _deleted attribute to true in the
docs you want to delete.
On Thursday, September 30, 2010, <to...@filbert.org> wrote:
>
> I´m looking for an efficient way to delete multiple documents.
>
> f.
> e. Delete all documents that are created > 1 week ago (this can be
> 100000 docs).
>
> (I´m using couchrest (rails))