Top "Realm" questions

The Realm Platform is a data synchronization platform for mobile applications.

Gson deserialization of List<String> into realmList<RealmString>

I'm using retrofit with gson to deserialize my json into realm objects. This works very well for the most part. …

java android gson realm
Declare an array of Int in Realm Swift

How can I declare an array of integers inside RLMObject? Like : dynamic var key:[Int]? Gives the following error : Terminating …

ios arrays swift realm
Delete All Realm Objects During Runtime

on iOS we can easily call realm.deleteAllObjects(); to remove all objects in our Realm database. How do we achieve …

java realm
Can I have arrayList of string in realm object android

As we dont have any list data type in realm, how can we use ArrayList<String> in a …

java android arraylist realm realm-list
How can I store a Dictionary with RealmSwift?

Considering the following model: class Person: Object { dynamic var name = "" let hobbies = Dictionary<String, String>() } I'm trying to …

ios swift dictionary realm
Realm - Can't create object with existing primary key value

I have a object Person with many dogs. App has separate page where it shows just dogs and other page …

ios swift realm realm-mobile-platform
Realm Exception 'value' is not a valid managed object

I'm setting a property on a realm object with another realm object which is a different class, however I'm getting …

android realm
How to convert RealmResults<Object> to List<Object>

I have RealmResults that I receive from Realm like RealmResults<StepEntry> stepEntryResults = realm.where(StepEntry.class).findAll(); Now …

android realm
How can I set LIMIT in query in Realm?

I have done R&D for limit in query with no success. There is one way with which to …

android realm realm-list
Delete all data from specific Realm Object Swift

Before i get too far into my question. My goal, which may influence your answers, is to remove Object data …

swift persistence realm