Is there a way to purge tombstones in cbl ?
In sync gateway document I can read “Purging of tombstones is also required on Couchbase Lite. For example, you might decide that if a document is deleted on a Couchbase Lite client, that you want to purge the document (on that device) as soon as the delete has been successfully replicated out to Sync Gateway.”
How can I know that the delete replication has been well performed ?
Or could it be a good solution, in a period task, to parse all deleted document in the local database, using the meta.deleted flag in a where clause of N1QL query, and to purge them ?