PartiQL Playground is intended to provide the required code for enabling execution of PartiQL queries on web.
Please note, at this stage the code within this package is considered experimental and should not be used for production.
For local usage follow the below steps.
partiql-rust
package from GitHub:
bash
git clone --recursive https://github.com/partiql/partiql-lang-rust.git
partiql-playground
root directory:
bash
cd partiql-lang-rust/partiql-playground
wasm-pack build --target web
bash
python3 -m http.server
http://localhost:8000/
PartiQL Playground
uses WebAssembly (Wasm) for integrating the front-end with PartiQL Rust back-end.
Considering this, please install the wasm-pack
by following the instructions here.
Upon any changes to the package's Rust dependencies (E.g. partiql-parser
) or the wasm code under ./src/lib
of this package, you need to rebuild the Wasm package using the following command from the root of this package:
bash
wasm-pack build --target web
Please note, as the package is experimental at this stage, all HTML code and assets reside in this package, but this doesn't necessarily mean that it'll be the case in the future.
| Package | License |
|------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
| ace Editor | BSD License |
| bootstrap | MIT License |
| D3.js | ISC License |
| jquery | MIT License |
| jquery.json-viewer | MIT License |
| wasm-bindgen | Apache License Version 2.0 |
| wasm-pack | Apache License Version 2.0 |