Skip to content

ObjectBrowser to view DB data #31

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

Closed
o7k7 opened this issue Mar 10, 2020 · 7 comments
Closed

ObjectBrowser to view DB data #31

o7k7 opened this issue Mar 10, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@o7k7
Copy link

o7k7 commented Mar 10, 2020

Hi

Is there a way for debugging the db?

Thanks

@tecnobeto
Copy link

tecnobeto commented Mar 16, 2020

I also want to know!

@jrjohn
Copy link

jrjohn commented Mar 22, 2020

There is ObjectBox - Data Browser for android only. Do you have plan data browser tool for swift?
Thanks

@greenrobot greenrobot changed the title Debug DB ObjectBrowser to view DB data Mar 22, 2020
@greenrobot greenrobot added help wanted Extra attention is needed enhancement New feature or request labels Mar 22, 2020
@greenrobot
Copy link
Member

Implementation questions; because the Object Browser runs inside a (web) browser and requires a debug version of ObjectBox running an embedded web server:

  • What the best way to distribute a "debug version" of ObjectBox containing the embedded web server & browser app? It's all done in the native (C/C++) lib, so e.g. we would provide a second cocoapods artifact.

  • Are there i/macOS restrictions regarding a embedded web server (e.g. security)?

  • Is it better to run an embedded browser view; e.g. to ensure that the web server runs in the same process? E.g. external browser app may not ensure the app's process is kept alive?

  • How/when to open the browser? Trigger with a UI or API? Android did by adding an item to the top system bar.

@jrjohn
Copy link

jrjohn commented Mar 27, 2020

Provide Java UI tool to open .mdb file? like sqlitebrowser for windows.
Or there are documents about mdb file format I can program myself.
Thanks

@JuanFcoMiranda
Copy link

Provide Java UI tool to open .mdb file? like sqlitebrowser for windows.
Or there are documents about mdb file format I can program myself.
Thanks

Yes, it would be nice to have a tool, to open the .mdb file and check what's written in the db.

@singlakarun
Copy link

Is there any progress on this?

Implementation questions; because the Object Browser runs inside a (web) browser and requires a debug version of ObjectBox running an embedded web server:

  • What the best way to distribute a "debug version" of ObjectBox containing the embedded web server & browser app? It's all done in the native (C/C++) lib, so e.g. we would provide a second cocoapods artifact.
  • Are there i/macOS restrictions regarding a embedded web server (e.g. security)?
  • Is it better to run an embedded browser view; e.g. to ensure that the web server runs in the same process? E.g. external browser app may not ensure the app's process is kept alive?
  • How/when to open the browser? Trigger with a UI or API? Android did by adding an item to the top system bar.

@greenrobot-team
Copy link
Member

We have released Admin as a Docker image, that can be used to read a database file on your development machine. See https://docs.objectbox.io/data-browser#run-via-docker for details.

There is also a blog post showing what it can do.

@greenrobot-team greenrobot-team removed the help wanted Extra attention is needed label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants