title: I'm using realm DB and it has no Foreign keys .. is there any alternative solution?
body: <p>guys i'm working on a android project for my DB course and i'm using realm DB but the problem is that i just found that realm has no foreign keys(realm is NOT a relational DB) so i was wondering if there is any other solution to use as a foreign key?</p>
  
  <p>i was thinking about using class composition but would it work ?</p>