crossdb-org / crossdb

Ultra High-performance Lightweight Embedded and Server OLTP RDBMS✨
https://crossdb.org
Mozilla Public License 2.0
184 stars 12 forks source link

CrossDB bindings for JavaScript (Node.js) #32

Closed damartripamungkas closed 3 days ago

damartripamungkas commented 1 month ago

Hi, I am interested in using CrossDB with JavaScript (Node.js) and was wondering if there are any existing bindings or plans to support Node.js. If not, would it be possible to add this feature in the future? Any information or guidance on how to implement it would also be appreciated.

Thanks!

jcwangxp commented 1 month ago

Sorry, I'm not familiar with js. Could you refer sqlite js and implement the binding? You can refer following bindings also. https://github.com/crossdb-org/crossdb-cpp/blob/main/crossdb.hpp https://github.com/crossdb-org/crossdb-python/blob/main/crossdb.py https://github.com/crossdb-org/crossdb-go/blob/main/crossdb.go If you're ready, I can create a reop and invite as maintainer.

efremropelato commented 6 days ago

Now that the crossdb are working for me too :-) If there’s a chance, I can handle the Node.js "driver".

jcwangxp commented 5 days ago

@efremropelato you're welcome to contribute the node.js driver.

efremropelato commented 5 days ago

@jcwangxp, First release is ready: https://github.com/efremropelato/crossdb-js

efremropelato commented 4 days ago

@jcwangxp Nodejs driver is ready. I improved the example like your with C (example.c).

Missing the "Multi-Statements" feature

jcwangxp commented 3 days ago

@efremropelato thank you so much, I've created https://github.com/crossdb-org/crossdb-nodejs and invited you as maintainer.