https://github.com/multiprocessio/dsql
Commandline universal database client
https://github.com/multiprocessio/dsql
Last synced: about 1 month ago
JSON representation
Commandline universal database client
- Host: GitHub
- URL: https://github.com/multiprocessio/dsql
- Owner: multiprocessio
- License: other
- Created: 2022-01-24T17:47:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T18:34:01.000Z (about 3 years ago)
- Last Synced: 2025-01-23T01:13:04.773Z (3 months ago)
- Size: 0 Bytes
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# dsql (WIP): commandline universal database client
dsql is a commandline tool built on top of
[DataStation](https://github.com/multiprocessio/datastation) that
allows you to query any database (supported by DataStation) with a
standard commandline syntax (the SQL you write is still specific to
the database vendor).## Example
Create a new profile:
```bash
$ dsql --new-profile # or `dsq -n`
Select a vendor:
1. PostgreSQL
2. MySQL
3. SQLite
4. Oracle
5. SQL ServerPick (1-5): 1
Username: test
Password: ****
Address: localhost
Port:
Profile name: local-postgresProfile created.
```Now write a query:
```bash
$ dsql local-postgres "SELECT * FROM users"
```