Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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: open OPFS sqlite database #164

Open
airen1986 opened this issue Sep 24, 2024 · 2 comments
Open

Feature Request: open OPFS sqlite database #164

airen1986 opened this issue Sep 24, 2024 · 2 comments

Comments

@airen1986
Copy link

It would be nice, if we could open OPFS SQLITE file in libsql-studio

@invisal
Copy link
Collaborator

invisal commented Sep 24, 2024

@airen1986 Interesting. Could you share what is the use-case for OPFS Sqlite?

@airen1986
Copy link
Author

airen1986 commented Sep 24, 2024

It would be more browser friendly to open a sqlite file in firefox, where you could first create a copy of local sqlite database in OPFS and do all the updates in OPFS only, making it more secure. For complex queries it will run in worker thereby sparing main thread. Also I am working on a web application, which is using OPFS sqlite database. I think it would be nice, if I could add sqlite editor functionality through libsql-studio.

Something like this URL: https://libsqlstudio.com/playground/client?dbname=opfsdb
should open opfsdb file from OPFS system

I understand, I need to host a copy of libsql-studio to access opfs file from my origin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants