I am using Sync Gateway and Couchbase for a mobile app solution. When I delete documents using Sync Gateway they are stored in Couchbase with the “_deleted”: true as described by the documentation.
I understand they are stored so they can sync the deletes across all the sync databases. My question is - after a time (weeks, months, etc) can I physically delete these documents from the Couchbase DB to reduce the document count?
Should I delete them in Couchbase or through the Sync Gateway API?