queryit
Version, currently 0.8.515 versions
- 0.8.5latestOct 15, 2021
- 0.8.4not indexedSep 27, 2023
- 0.8.3not indexedSep 27, 2023
- 0.8.2not indexedSep 27, 2023
- 0.8.1not indexedSep 27, 2023
- 0.8.0not indexedSep 27, 2023
- 0.7.0not indexedSep 27, 2023
- 0.6.0not indexedSep 27, 2023
- 0.5.1not indexedSep 27, 2023
- 0.5.0not indexedSep 27, 2023
- 0.4.0not indexedSep 27, 2023
- 0.3.0not indexedSep 27, 2023
- 0.2.1not indexedSep 27, 2023
- 0.2.0not indexedSep 27, 2023
- 0.1.0not indexedSep 27, 2023
github.com/hugopl/queryit
A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.
20 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
queryit:
github: hugopl/queryit
version: ~> 0.8.5Then run:
shards installshard.yml
- Crystal
>= 1.0.0- License
- MIT
- Author
- Hugo Parente Lima <hugo.pl@gmail.com>
- Target
queryitfrom src/main.cr
Dependencies
Runtime Dependencies
- pg~> 0.21github: will/crystal-pg
- mysql~> 0.11github: crystal-lang/crystal-mysql
- textui~> 0.3github: hugopl/textui
- sqlite3~> 0.16github: crystal-lang/crystal-sqlite3
- version_from_shard~> 1.2github: hugopl/version_from_shard
README
 [](https://aur.archlinux.org/packages/queryit) # Queryit A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.  ## Installation ### if ArchLinux There's an [AUR package](https://aur.archlinux.org/packages/queryit/) for it. ``` $ yay -S queryit ``` ### else Install the dependencies (dev packages if your distro split development files in separated packages): - Crystal compiler >= 1.0. - libyaml (for rails/amber database configuration detection). - python (compile time dependency used as build system for libtermbox). - libevent. - libsqlite3 (for sqlite support). - mysql-client (for mysql support). - postgresql-libs (for postgres support). ``` $ make $ sudo make install ``` ## Usage On a rails or amber project directory just run it, a connection will be made to the development database: ``` $ queryit ``` Or specify the database URI: ``` $ queryit --uri postgres://localhost/database ``` ## Database support Despite of only be really tested with Postgres and SQLite, it should work with MySQL too. ## Contributing 1. Fork it (<https://github.com/hugopl/queryit/fork>) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request Feature suggestions are welcome, write them in github issues. ## Contributors - [Hugo Parente Lima](https://github.com/hugopl) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.8.5- Tagged
- Oct 15, 2021
- Commit
3b662c33e64a- Crystal
>= 1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/hugopl/queryit
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 15