Database.save listener?

I am using couchbase lite in my android application and I need to know when a document is actually save in my local database and/or when my database has finished to save all the document, is there a listener of some type or a document.flag which is updated? I need to save all the documents and then replicate them via sync-gateway

MyDatabaseChangeListener is one way to find ,database changeListener, has a list of change with multiple revisions

The document API is synchronous. When the save call returns, the document has been stored in the database.

1 Like