You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to remove all objects that are in the RealmResult list baked by backlinks
I get
java.lang.IllegalArgumentException: Cannot delete custom Deleteable objects: ObjectBoundRealmResults
at io.realm.kotlin.internal.InternalDeleteableKt.asInternalDeleteable(InternalDeleteable.kt:36)
at io.realm.kotlin.internal.InternalMutableRealm$DefaultImpls.delete(InternalMutableRealm.kt:63)
at io.realm.kotlin.internal.SuspendableWriter$WriterRealm.delete(SuspendableWriter.kt:51)
...
when doing MutableRealm.delete(realmResults)
Solution
All elements of backlinked RealmResults are deleted from database when doing MutableRealm.delete(realmResults)
Alternatives
No response
How important is this improvement for you?
I would like to have it but have a workaround
Feature would mainly be used with
Local Database only
The text was updated successfully, but these errors were encountered:
Problem
If I try to remove all objects that are in the RealmResult list baked by backlinks
I get
java.lang.IllegalArgumentException: Cannot delete custom Deleteable objects: ObjectBoundRealmResults
at io.realm.kotlin.internal.InternalDeleteableKt.asInternalDeleteable(InternalDeleteable.kt:36)
at io.realm.kotlin.internal.InternalMutableRealm$DefaultImpls.delete(InternalMutableRealm.kt:63)
at io.realm.kotlin.internal.SuspendableWriter$WriterRealm.delete(SuspendableWriter.kt:51)
...
when doing MutableRealm.delete(realmResults)
Solution
All elements of backlinked RealmResults are deleted from database when doing MutableRealm.delete(realmResults)
Alternatives
No response
How important is this improvement for you?
I would like to have it but have a workaround
Feature would mainly be used with
Local Database only
The text was updated successfully, but these errors were encountered: