One of the other questions from the recent Tokyo Ideathon was surrounding how to keep couchbase lite databases from growing without bounds.
As far as I know, the answer is to purge this data locally. The person then asked me if there's anything available that makes this easier, or whether it's completely up to the developer.
What is the best practice here? For example, every time the app starts up, run a query for data that's over X days old and call doc.purge() on each document?
Any docs / pointers / tips would be helpful so I can make sure this gets back to the original person who asked the question.