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

Tracking issue for node:sqlite #24828

Closed
littledivy opened this issue Aug 1, 2024 · 8 comments · Fixed by #27308
Closed

Tracking issue for node:sqlite #24828

littledivy opened this issue Aug 1, 2024 · 8 comments · Fixed by #27308

Comments

@littledivy
Copy link
Member

Related #11657

Tracking issue for implementing the node:sqlite API.

Currently experimental - https://nodejs.org/api/sqlite.html

@tracker1
Copy link

Just curious if there's been progress on this? Haven't dug into the 2.0 additions yet.

@BlackAsLight
Copy link

Just curious if there's been progress on this? Haven't dug into the 2.0 additions yet.

I believe they said in the 2.0 live stream that npm:sqlite has been completed but will only be released in Deno if nodejs takes it out of the experimental phase.

@littledivy
Copy link
Member Author

Yes, it will be added once it's stable in Node.js

@karimfromjordan
Copy link

I'm a bit surprised that in this PR #27308 the node:sqlite implementation is barely faster than Node's. I was expecting significant performance improvements because of Deno's FFI.

@sant123
Copy link

sant123 commented Jan 29, 2025

@littledivy do you know if sqlite will be under Deno namespace or by node:sqlite import only?

@littledivy
Copy link
Member Author

node:sqlite is currently import only. I don't think there are any plans yet to have a Deno specific API

@easrng
Copy link

easrng commented Jan 30, 2025

If imports are an issue you should be able to get it with process.getBuiltinModule("node:sqlite") tho

@sant123
Copy link

sant123 commented Jan 30, 2025

@easrng nice, thanks a lot!

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

Successfully merging a pull request may close this issue.

6 participants