How to remove local data but it do not remove on replicated Server

Hi all,
I am developing a iOS application,
I use couchbaselite as database.
I have a problem, When the data synchronous from server more and more, the device will don’t enough space to save. the database is big.
I want to remove some old data on Local, but it do not affected to the Database on replicated database.

Any idea!

You can purge documents from the database which will permanently remove them. The documentation explains how to do this.

It has no effect on the replication of the remote database.


Thank James
I have overlooked it.