An SQL shell for executing Rockset queries.
Project description
RockSQL
An SQL shell for executing Rockset queries.
Installation
pip3 install RockSQL
Usage
- Authentication:
$ export `ROCKSET_TOKEN`=[API key] `ROCKSET_SERVER`=[API server]```
Note: You can also authorize using rsql [API key] [API server]
in the next step.
- Enter the shell:
$ rsql
- Execute a query
$ SELECT * FROM my_collection
- Exit
$ exit
Shell commands
help
cls
/clear
exit
(^D)
Save results
To save query results to a file, append >
to the end of your query.
$ SELECT * FROM my_collection > collection.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
RockSQL-1.0.0.tar.gz
(2.2 kB
view hashes)