Inverse relation in realm -
We accept two tables, I am using version 0.81 update (10-27- 2014) Bidirectional links are now supported. See the scope document: Original Answer Bidirectional relations should be explicitly added at this time. Here's an example: We have planned to simplify this method in the future. This answer box and
items . There are many items in the box, one item contains only one box. I would like to get all those items which are in the array given in the box. How could I do that? In the CD I can do it in the
item category from the predicate and property which stands for the connection to the box.
@ square box; @Inteface Item: RLM Object @ Property Box * Box; @ And RLM_ARRAITYEPE (item); @ Interface box: RLM object @ property RLMRRA & lt; Items & gt; * item; @end ... item * items = [[item alloc] init]; Box * box = [[Box Alok] initWithObject: @ [@ [item]]]; Item.box = box;
Comments
Post a Comment