Importing and Exporting Realm File Data in CSV Format

Asked 1 years ago, Updated 1 years ago, 48 views

I am looking for CSV output and loading data from Realm file.
I'd like to put it in CSV format from the server and have each user read the data and restore it.
Is there such a function?Realm browser also has CSV output and input capabilities
I'm very grateful.If it is not a standard feature, is there an alternative?

realm

2022-09-30 21:23

1 Answers

Realm Browser provides CSV export of data and import via CSV or EXCEL files.Please see Import and Export on the File menu.It also supports some flexible mapping of data structures such as https://github.com/realm/realm-cocoa-converter.

However, since CSV does not define the data type, Realm's mapping to the data schema is not obvious, so it is usually adjusted by applications.Loading CSV and saving it to Realm is not particularly difficult, so I think it would be faster to write it the way it fits the application from the beginning.


2022-09-30 21:23

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.