Skip to main content

An SQL shell for executing Rockset queries.

Project description

RockSQL

An SQL shell for executing Rockset queries.

Installation

pip3 install RockSQL

Usage

  1. 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.

  1. Enter the shell:
$ rsql
  1. Execute a query
$ SELECT * FROM my_collection
  1. 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


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)

Uploaded Source

Built Distribution

RockSQL-1.0.0-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page