deno icon indicating copy to clipboard operation
deno copied to clipboard

Tracking issue for `node:sqlite`

Open littledivy opened this issue 1 year ago • 3 comments

Related https://github.com/denoland/deno/issues/11657

Tracking issue for implementing the node:sqlite API.

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

littledivy avatar Aug 01 '24 13:08 littledivy

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

tracker1 avatar Oct 14 '24 03:10 tracker1

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.

BlackAsLight avatar Oct 14 '24 03:10 BlackAsLight

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

littledivy avatar Oct 14 '24 05:10 littledivy

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

karimfromjordan avatar Dec 15 '24 19:12 karimfromjordan

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

sant123 avatar Jan 29 '25 20:01 sant123

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

littledivy avatar Jan 30 '25 03:01 littledivy

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

easrng avatar Jan 30 '25 19:01 easrng

@easrng nice, thanks a lot!

sant123 avatar Jan 30 '25 20:01 sant123