blockingDelete

abstract fun blockingDelete()

Removes the object in scope in a synchronous way. See the implementation JavaDoc for details on how deletion is performed. It blocks the thread and finishes as soon as the object is deleted in the database. It throws an exception if the object doesn't exist.

Throws

if any errors occur, including when the object doesn't exist.