- GitHub Repository: sql-console
- Development Guide: Check out
DEVELOP.mdin the repo root. - AI Agent Skill for sql-console: sql-operator
Hello everyone, SQL Console v0.3.0 is officially released! 🎉
In this update, we have significantly enhanced our support for Oracle databases and upgraded the overall system security:
- New Oracle-specific commands: You can now use
descto view table structures andshow parameterto query system parameters directly, seamlessly aligning with your daily operational habits! - Strict security enhancements: We introduced a whitelist-based validation mechanism to effectively intercept illegal inputs (SEC-403) and thoroughly defend against potential SQL Injection risks, strengthening security compliance in terminal environments.
- Architectural refactoring: We implemented a new Stateless Translator pattern, fully adhering to SOLID (SRP/OCP) principles. By separating the SQL translation logic from the execution logic, we’ve built a solid foundation for future extensions.
This is an open-source tool designed specifically for SREs/DBAs who need to maintain multiple databases (PostgreSQL, Oracle, MSSQL, etc.) in the Terminal. Connected via JDBC, it saves you from frequently switching between different environments!
Check out the detailed release notes and documentation here: https://github.com/PolloChang/sql-console/releases/tag/v0.3.0
Feel free to download it, try it out, and share your feedback!
v0.3.0 #
- Feature: Support Oracle Database special commands (
show parameteranddesc/describe). - Security: Implement whitelist validation input regex to defend against SQL Injection in client commands.
- SOLID: Refactor
ClientCommandProcessorto a pure stateless translator pattern and clean up execution engine logic.
Feather Preview: Oracle Database Special Commands #
Show Parameters #
|
|
Output:
|
|
DescRIBE command #
|
|
|
|