3 ms·
Nice! Perhaps you could distribute a NPM package with the WASM extension too? Otherwise the alternative is to use the WASM PRQL compiler, and use that in the br
by oulipo 3y ago
Nice! Perhaps you could distribute a NPM package with the WASM extension too? Otherwise the alternative is to use the WASM PRQL compiler, and use that in the browser to generate queries for ducksb-wasm
- amcaskill 3y agoI'm quite excited about this, and would also love to have it distributed as an NPM package. I work on an OSS web framework for reporting/ decision support applications (https://github.com/evidence-dev/evidence https://github.com/evidence-dev/evidence), and we use WASM duckDB as our query engine. Several folks have asked for PRQL support, and this looks like it could be a pretty seamless way to add it.
- oulipo 3y agoI added it using prql-js
- carlopi 3y agoHere it is: https://carlopi.github.io/duckdb-wasm-unsigned////#queries=v0,LOAD-'https%3A%2F%2Fcarlopi.github.io%2Fduckdb%20wasm%20unsigned%2Fthird_party_extensions%2Fpsql.duckdb_extension.wasm'~,from-'https%3A%2F%2Fraw.githubusercontent.com%2Fywelsch%2Fduckdb%20psql%2Fmain%2Fexample%2Finvoices.csv'-%7C-order-by-total-DESC-%7C-limit-10~ https://carlopi.github.io/duckdb-wasm-unsigned////#queries=v... That is, the duckdb-wasm web shell with loaded PSQL extension