Couchbase lite version 13: Purging documents from the database

Hi @priya.rajagopal,

I am currently testing the CRUD operations :smiley: so im still learning how it all works.
What is the correct way to remove a document from the database locally and server-side?

You mentioned that CBL automatically purges old & unused revisions. but what if i want to manually remove a document. for example a student has changed class. so he/she has to be removed (purged) from the database of students he/she is currently in and added into another. As fast as possible

Im just looking for a way to completely remove a document forgood.

i already managed to select documents and show them in a list. (these documents come from the server). so i got replication going. but still i sometimes get the same problem as before… see my other topic about this => replication failure

Any help is welcome! :smiley:

cheers!