Questions tagged [rlmlinkingobjects]

5 questions
2
votes
1 answer

Delete specific object from LinkingObjects list - Realm Swift

I am currently trying out Realm on a test project and I have been struggling with removing a specific object from a List. LensDBObject and ListDBObject. LensDBObject contains a list of lenses and ListDBObject are lists of existing lenses. A lens can…
downuts
  • 35
  • 1
  • 3
2
votes
0 answers

Realm LinkingObjects not working. return nil

So I am trying to work with LinkingObjects in Realm and seem to be getting bad results on the first level (linking not working). I am going to add here all the code. Obviously not expecting people to go over it all, just want to show that I went…
Shlomo Koppel
  • 885
  • 7
  • 14
1
vote
2 answers

How to use LinkingObject for android

I would like to make a relationship like SQLite using Realm. If don't have a child table when add a parent table, how do add RealmList? Is there a real-time link between the parent table and the child table? How to migration RealmList,…
hanmolee
  • 253
  • 3
  • 9
1
vote
1 answer

Many-to-Many Relationships in Realm using Objective-C

I have spent hours upon hours trying to figure out how to setup the models for object relationships and create/delete many-to-many relationships in Realm using Objective-C. The documentation has been less than helpful. I could use some guidance on…
SAHM
  • 4,078
  • 7
  • 41
  • 77
0
votes
1 answer

How to sort linking objects of realm?

I have a realmObject that includes linkingObject. @RealmClass public class VolleyballPlayer extends RealmObject { @PrimaryKey private String id; @LinkingObjects("volleyballPlayer") private final RealmResults players =…
propoLis
  • 1,229
  • 1
  • 14
  • 48