delete

open override fun delete(): Completable

Removes the object in scope in an asynchronous way. It removes the value in the database and propagates the changes to modify the DataObject.syncState of the parent, so it's updated in the server in the next upload. It returns a Completable that completes as soon as the object is deleted in the database. The Completable fails if the object doesn't exist.

Return

the Completable which notifies the completion