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

[Feature Request]: read sqlite file #49

Open
poneoneo opened this issue Jul 23, 2024 · 3 comments
Open

[Feature Request]: read sqlite file #49

poneoneo opened this issue Jul 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@poneoneo
Copy link

i'm developping a web scraping tool that could create and sqlite that i want to quickly read with browsr is this possible to implement ?

@juftin
Copy link
Owner

juftin commented Jul 23, 2024

🤔 this could be possible, I like the idea. The one difficulty I can think of would be the possibility for multiple tables. So currently data files (CSV/parquet) render into a DataTable inside browsr. For a sqlite file, each table would essentially be its own DataTable so there would need to be an additional widget (like a dropdown) that allows you to select which table you'd like to view.

@juftin juftin added the enhancement New feature or request label Jul 23, 2024
@poneoneo
Copy link
Author

There are library as sqlite-utils that can make join operations on csv/sqlite file. I'm thinking that you could convert sqlite file into Csv and then read from :memory: instead to create unwanted file

@juftin
Copy link
Owner

juftin commented Aug 5, 2024

Reading SQLite databases into memory is pretty straightforward. The issue is when multiple tables exist within a database, there would need to be UI changes so that you can navigate between tables.

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

2 participants