realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
502 stars 54 forks source link

acceptable csv format for importing... #251

Closed sirvon closed 7 years ago

sirvon commented 7 years ago

What is a acceptable csv format for importing and creating database from file?

device_name,device_channel_name,region_code,site_channel_name
at2_daz1,#p_ap_at1_at2_daz1,ap,#ap_at1_salzburg
au1_daz12,#p_ap_au1_au1_daz12,ap,#ap_au1_sydney
au1_daz13,#p_ap_au1_au1_daz13,ap,#ap_au1_sydney
bal_daz1,#p_ap_au1_bal_daz1,ap,#ap_au1_sydney
bal_daz10,#p_ap_au1_bal_daz10,ap,#ap_au1_sydney
bal_daz11,#p_ap_au1_bal_daz11,ap,#ap_au1_sydney
bal_daz2,#p_ap_au1_bal_daz2,ap,#ap_au1_sydney
.......

I have a file that looks like the above, with 1000s of more lines how should I tweak the format to get the data inside a realm db correctly...

correctly meaning able to query by: device_name, device_channel_name, region_code, site_channel_name

stel commented 7 years ago

The example you sent seems ok and Browser is able to import it correctly. screen shot 2016-12-19 at 10 23 56 am Do you have any errors while import?

stel commented 7 years ago

@sirvon do you need any other help here or can we close this issue?

stel commented 7 years ago

Closing this because of inactivity. @sirvon please feel free to reopen it if you need any help.

sirvon commented 7 years ago

sorry thank you for your assistance. working perfectly.