couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <si...@cloudant.com>
Subject Re: auto delete docs
Date Thu, 30 Aug 2012 15:48:59 GMT
You need to have a view keyed by expire_date and an external process (some cron script, say)
that queries that appropriately and makes the (bulk) delete of old docs. 
Cheers
Simon


On Thursday, 30 August 2012 at 16:44, Stephan Bardubitzki wrote:

> I have a db with docs that have a field expire_date. I want to auto 
> delete those docs when expire_date has passed, but have no clue how to 
> do that.
> 
> Any advise would be greatly appreciated.
> 
> Thanks,
> Stephan
> 
> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message