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

js async example #727

Open
7flash opened this issue Jan 18, 2025 · 1 comment
Open

js async example #727

7flash opened this issue Jan 18, 2025 · 1 comment

Comments

@7flash
Copy link

7flash commented Jan 18, 2025

currently readme shows sync example. its fine with normal SQL queries because they are so fast, but there are some extensions like sqlite-rembed which might take several seconds to complete. it would be helpful if limbo can demonstrate non-blocking execution of SQL queries.

@LtdJorge
Copy link
Contributor

This will be fixed in #271 which I'm working on. You mean that operations like

const users = stmt.all();

should be

const users = await stmt.all();

right?

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