I added some data using syncgateway Admin API, then this data was synchronised on my iPhone, everything fine.
Then I deleted data using syncgateway API using this methods:
GET http://localhost:4985/dbname/_all_docs - to get doc ids
POST http://localhost:4985/sbis_mobile2/_purge - with json body with doc ids.
Then I go in web interface and see what there are no any documents:
Fine. Now I go on my iPhone and delete application in order to clear my local database.
Now I start my application (it is installed again) and see some data. That’s not all data I have added in step 1. It’s looks like strange pieces. Only after restart syncgateway this data pieces has been deleted.
Why SG stored some data although it was fully deleted? Why SG do not show me that data in web interface? I don’t want my device receive some strange piece of data which I cannot see in some other place. Please help. Thanks in advance.
PS. Please suggest viewer instrument for couchbase data on server. Now I use SG web interface and it looks bad and inconvenient.