Multi-threaded version:
cargo +nightly run -- --threadedSingle-threaded blocking version:
cargo +nightly run -- --syncAsynchronous version:
cargo +nightly run -- --asyncThe service runs in localhost:8080 and can be used with a web client.
To save a new query:
curl -d 'SELECT 1 as one' localhost:8080/oneThen as long as the server is running, the query can be executed by executing a
GET request to the uri:
curl localhost:8080/oneOutput should be the result as JSON:
[{"one":1}]