Re: Purging unused attachments

2015-10-20 Thread Jens Alfke
On Oct 20, 2015, at 3:19 PM, Scott Ahten mailto:lightandshado...@gmail.com>> wrote: As I understand it, the only way to remove the orphaned attachment is to call [CBLDatabase compact]. Correct? Compact will delete attachment files that are no longer used by any revision. So before the compact

Purging unused attachments

2015-10-20 Thread Scott Ahten
I'm trying to replace hi-res photo attachments with low-res previews to reduce storage on-device after the hi-res photo has been synced to the gateway sever. As I understand it, the only way to remove the orphaned attachment is to call [CBLDatabase compact]. Correct? -- You received this me