Reputation: 11
We have number of objects in our iOS app with close references to each other to nested levels. Our app is heavily multi-threaded. With realm(Objective C) as database choice, following questions have come up and looking forward to answers:
Upvotes: 1
Views: 1112
Reputation: 1578
The short answer is that you should use one Realm. A Realm is a file with a bunch on objects and relations. It's not possible to query across multiple Realms. So only split up in multiple Realms if your objects are not related at all and you don't have relations to objects in other Realms. Thousands of objects is no problem at all.
Upvotes: 1