How to extract data from existing REALM database (total novice)

548 Views Asked by At

First off, I'm a total novice with regards to Realm so please bare with me.

I have an app on my iPhone that stores data in a Realm db and I'd like to export some values from it. Using iExplorer I copied the db file from an iPhone backup onto my Mac.

I downloaded MongoDB Realm Studio (v. 11.0.1) and opened the db file. I can see the class containing the data of interest and clicked it. Values are shown in columns with headers. I would like to export two of those columns. I wasn't able to select columns and copy them to clipboard which would have been ideal.

I then tried to export the class as JSON but after a few minutes Studio reported "Failed to export data. Invalid string length".

Not having any experience with Realm, is there some command I can enter into Studio's query box to either locate the invalid string length and fixit or to be able to export the desired data?

Thanks!

0

There are 0 best solutions below