An SQL shell for executing Rockset queries.
pip3 install RockSQL
- 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
help
cls
/clear
exit
(^D)
To save query results to a file, append >
to the end of your query.
$ SELECT * FROM my_collection > collection.json