Is it possible to specify a field type for CSV import in Realm Studio?


#1

I found this new feature “Create Realm from CSV”, but I can’t really seem to find how to:

1.) import multiple files at once
2.) specify the field type of the objects (they seem to be imported as "string"s, all of them)

Also you don’t seem to be able to change the data type / migrate the schema (you can add properties, but additive changes are the easier part! :stuck_out_tongue:) .

Is there any documentation on how to do these kind of things in Realm Studio? I’m guessing migrations aren’t possible yet, but I’m curious about specifying data type while importing.

Thanks! :slight_smile:


#2

Hello? How do you define field types when importing from CSV? AFAIK you can’t change types in Realm Studio because it didn’t support dynamic realm / schema migration last time I checked?


#3

@zhuinden Does this help?
https://docs.realm.io/platform/realm-studio/view-your-data#import-data


#4

Oh, that’s new, thanks!

My answer is “somewhat”: how do you add a Date field?