Closed fernandomoraesvr closed 10 months ago
Ok, sounds like that is a unsupported feature https://github.com/objectbox/objectbox-java/issues/79
However that could be better documented, in Java/Kotlin/Dart docs:
**Removing Objects**
To remove all objects matching a query, call query.remove() .
This led me to understand that ALL objects including relations would be deleted, i'll check if i find some time to contribute and clarify documentation
Not sure if it is a bug or a feature request, but when removing a entity with a ToOne relation, i got the primary entity removed, but the related entity still exists in objectbox.
TODO Provide the following information as needed
Basic info:
Steps to reproduce
Expected behavior
Primary entity and instance of entity of ToOne relation removed aswell.