objectbox-kotlin / io.objectbox.kotlin / io.objectbox.relation.ToMany

Extensions for io.objectbox.relation.ToMany

applyChangesToDb

Allows making changes (adding and removing entities) to this ToMany with a call to apply the changes to the database. Can reset the ToMany before making changes.

fun <T> ToMany<T>.applyChangesToDb(resetFirst: Boolean = false, body: ToMany<T>.() -> Unit): Unit