@Retention(CLASS) @Target(FIELD) @Beta public @interface Backlink
Example (to-one relation): one "Order" references one "Customer". The backlink to this is a to-many in the reverse direction: one "Customer" has a number of "Order"s.
Example (to-many relation): one "Teacher" references multiple "Student"s. The backlink to this: one "Student" has a number of "Teacher"s.
Note: changes made to a backlink relation based on a to-many relation are ignored.
|Modifier and Type||Optional Element||Description|
Name of the relation the backlink should be based on (e.g.
Available under the Apache License, Version 2.0 - Copyright © 2017-2019 ObjectBox Ltd. All Rights Reserved.