Comments (12)
Seems like it's only possible to import one table only. Importing another CSV file to create/populate another table overwrites the previous database.
The XSLX is able to create multiple tables, but doesn't populate any of them.
Also, no way to specify the schema? It creates all columns as strings.
Am I missing something or is this almost useful?
from realm-browser-osx.
Hi @basememara!
Thanks for the feedback! The importing/exporting components of the Browser are actually maintained in a separate project named the Realm Converter.
The converter is still heavily under construction (Each format is at varying levels right now), so if there's any particular feature/fix you'd like, please file them as issues over in that repo. :)
Thanks a lot!
from realm-browser-osx.
+1. Really need it . Especially when we want to deliver app with db files.
from realm-browser-osx.
Thanks for that!
Are there any particular formats there you're interested in? I'm still wondering which ones to prioritize.
from realm-browser-osx.
@TimOliver Thanks! Actually I was trying to use some CSV data and found that Realm Browser does not support it now. Really appreciate it.
from realm-browser-osx.
Is there a workaround to export the Realm data as CSV/JSON/whatever until the Realm Browser supports this?
from realm-browser-osx.
@muenchdo until the Realm browser supports this natively, you could write an app to convert the data using a Realm binding (Realm Cocoa or Realm Java).
from realm-browser-osx.
We badly need this. Any kind of structured export would be better than nothing - CSV or JSON sound sensible to me, whatever is easier to implement.
I've tried writing a CSV export app in Java with realm-java, but hit issues with Android dependencies. I'll give it another go this evening and share if I get anywhere.
In the meanwhile, because all our data is stored as JSON as strings in our Realm databases anyway, I've just been using a little bash script to pull out anything in curly braces and dump it in a file...
cat REALM_DATABASE_FILENAME | grep -aoE '\{..+?\}' | split -l 1 - realmdata;
for file in realmdata*
do
cat $file | sed 's/\\//g' > $file.txt;
rm $file;
done
from realm-browser-osx.
What is the timeline for building this? There have been a few react-native users asking for JSON import support.
from realm-browser-osx.
A primitive version of this should be super easy to build, I don't know why it's been pushed off for so long. I'm assigning myself to this.
from realm-browser-osx.
a json importer was added in realm/realm-cocoa-converter#16. we can keep this open until an exporter is also added, and of course, until these are integrated into the browser.
from realm-browser-osx.
any updates on this feature?
from realm-browser-osx.
Related Issues (20)
- Add mixpanel ping for next browser release
- Crash when trying to delete a record HOT 3
- And startup information to encourage use of Realm Studio
- The Realm Browser won't start on macOS High Sierra 10.13.1 HOT 2
- Exporting List Models To Swift HOT 2
- Creating a new object in a table with an optional data property creates a data pointer & displays extra fields
- "Connect to server" doesn't allow empty passwords HOT 1
- [wish] RealmBrowser.app is not showing the schema version of the opened realm file HOT 1
- Please enter a valid encryption key for this Realm file HOT 11
- Xcode 9.2 crashes when .realm file is open on Realm Browser 3.0.1 HOT 1
- allow can't clicked by iFunbox Could not open .realm HOT 1
- When importing data from CSV, Field defined as 'double?' got error "must be of type 'number?', got 'string'" HOT 2
- Realm Studio is bad. You should definitely keep maintaining this HOT 4
- Browser.app And Studio cannot be opened during project operation HOT 2
- Please write in the description that this project is deprecated HOT 1
- Add support for launching app with argv HOT 4
- How can i view my realm file on andriod using this on windows
- Fractional seconds not visible for Date-based properties HOT 1
- Realm "Please enter a valid encryption key for this file" HOT 3
- Cannot open realm file after update android plugin to 7.0.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-browser-osx.