Query
Connect to database and execute a query.
WARNING: This is raw query execution and testing tool. It is not checking query safety or performance. Use it with caution.
Usage
Execute query command with --source and --type flags.
run query on databases
version: v0.0.0 commit: - buildDate:-
Usage:
query [flags]
Examples:
query --source 'postgres://user:urlencodedpassword@localhost:5432/postgres?application_name=query&search_path=myschema' --type pgx
Flags:
-h, --help help for query
--ping ping database and exit
--source string db data source
--type string db data source type, supported types: [pgx, ingresodbc]
-v, --version version for query
With docker
docker run -it --rm --name query --entrypoint="/bin/bash" ghcr.io/rytsh/query:latest