Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepopulate databases? #435

Closed
MarsVard opened this issue Oct 1, 2014 · 8 comments
Closed

prepopulate databases? #435

MarsVard opened this issue Oct 1, 2014 · 8 comments

Comments

@MarsVard
Copy link

MarsVard commented Oct 1, 2014

does realm have a way of using prepopulated databases?

@shbi
Copy link

shbi commented Oct 1, 2014

+1 Very common case when working with vendors bringing their own data. Would love to see this is supported or going to be supported soon.

@mick1418
Copy link

mick1418 commented Oct 1, 2014

+1 This feature would bring this library from awesome to freaking awesome ;)

@bmunkholm
Copy link
Contributor

Happy to say that that's no problem at all.
Realm is just one file. You can generate that yourself, pack it, send it
around or whatever you like and then just open it at a specific path.

Note, you can also edit the file in the browser that we currently got for
Mac only.

//Brian

On Wed, Oct 1, 2014 at 4:00 PM, Michael LAGUERRE notifications@github.com
wrote:

+1 This feature would bring this library from awesome to freaking awesome
;)


Reply to this email directly or view it on GitHub
#435 (comment).

@kneth
Copy link
Member

kneth commented Oct 1, 2014

It's worth adding to @bmunkholm's comment that you can use the same file for both OS X, iOS and Android (and any platform we will support in the future).

@MarsVard
Copy link
Author

MarsVard commented Oct 2, 2014

@bmunkholm @kneth I might be missing something but the browser only has editing functions, so I can't just enter new data and add new tabled to it.

It would be really handy if we could open the editor, file -> create new realm.
Then just add classes and rows.

(I know this is a shitload of work)
for now I'll do this in code but it would really be awesome.

@bmunkholm
Copy link
Contributor

Yeah sorry for not pointing that current limitation out. It's on the
roadmap and will come in not too distant future!
One issue with just converting databases is that it's not always a strait
one-to-one mapping that you can do. But simple tables should be importable
in the browser, so will CSV import.
Also we do have a simple CSV cmdline importer tool that we could consider
to make available.

On Thu, Oct 2, 2014 at 2:50 PM, Mars notifications@github.com wrote:

@bmunkholm https://github.com/bmunkholm @kneth
https://github.com/kneth I might be missing something but the browser
only has editing functions, so I can't just enter new data and add new
tabled to it.

It would be really handy if we could open the editor, file -> create new
realm.
Then just add classes and rows.

(I know this is a shitload of work)
for now I'll do this in code but it would really be awesome.


Reply to this email directly or view it on GitHub
#435 (comment).

@kneth kneth closed this as completed Oct 7, 2014
@lidemin
Copy link

lidemin commented May 24, 2015

Hi, @bmunkholm may I know how is the progress of this feature for browser? Thanks

@bmunkholm
Copy link
Contributor

Unfortunately not much progress on that - sorry to say. We are still prioritising many other core features above this one.
It's actually one of those features which anyone could relatively easily implement in the browser. We are considering to better mark those features as "help wanted" for the community to pick up. We could certainly use some help on those kind of features which are not a core part of the database.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants