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

Sqlite Integration #4

Open
mikeptweet opened this issue Mar 24, 2021 · 4 comments
Open

Sqlite Integration #4

mikeptweet opened this issue Mar 24, 2021 · 4 comments

Comments

@mikeptweet
Copy link

Any chance you could splice in sqlite so that it is available within the Javascript context. I've been looking for a simple http server like this but alas, it is beyond my skill set to do it myself.

Thanks ... and great work!

@indutny
Copy link
Owner

indutny commented Mar 27, 2021

@mikeptweet not that I mind to, but this is probably overblowing the amount of time I'm ready to invest into this (essentially) Proof-of-Concept project. If you are up for it - I'll happily review and merge your Pull Request for sqlite support.

Thank you for kind words!

@indutny
Copy link
Owner

indutny commented Apr 1, 2021

Well, this probably wasn't a response that you expected. If this of any help, I can guide you through what's required for this work.

@gengjiawen
Copy link
Contributor

@mikeptweet What's your use case ?

@mikeptweet
Copy link
Author

I use the sqlite command shell extensively to script various database tasks. Currently I use the command shell utilities to pre/post data coming into and flowing out of the sqlite command shell. I'd like the addition of a lightweight scripting capability to augment this process. I currently use this sqlite extension module (https://github.com/abiliojr/sqlite-js) to leverage duktape but it doesn't provide the functionality I need because it exists only as a function within sqlite. I want the reverse ... the ability to use sqlite from within duktape (something as simple as a single query function like (https://github.com/lspgn/edge-sql).

I know I can do this in node/deno, but I like how lightweight duktape is and the ability to call it over http is awesome.

Thanks.

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

3 participants