@ InterfaceAudience . Public public boolean delete ( ) throws CouchbaseLiteException { return getCurrentRevision ( ) == null ? false : getCurrentRevision ( ) . deleteDocument ( ) != null ; }
Deletes this document by adding a deletion revision . This will be replicated to other databases .