studio sql
0.1.32
Biner tunggal, penjelajah database SQL perintah tunggal. SQL studio mendukung SQLite , libSQL , PostgreSQL , MySQL dan DuckDB .
sql-studio sqlite [sqlite_db]
sql-studio libsql [url] [auth_token]
sql-studio local-libsql [database]
sql-studio postgres [url]
sql-studio mysql [url]
sql-studio duckdb [duckdb_file]
sql-studio clickhouse [URL] [USER] [PASSWORD] [DATABASE]
Lebih banyak fitur tersedia di halaman rilis.
curl --proto ' =https ' --tlsv1.2 -LsSf https://github.com/frectonz/sql-studio/releases/download/0.1.32/sql-studio-installer.sh | sh
powershell - c " irm https://github.com/frectonz/sql-studio/releases/download/0.1.26/sql-studio-installer.ps1 | iex "
sql-studio-update
nix shell nixpkgs#sql-studio
Gambar Docker dari SQL Studio tersedia di Docker Hub. Berikut ini contoh cara menjalankan SQL Studio dengan driver Postgres pada port 3030
.
docker run -p 3030:3030 frectonz/sql-studio /bin/sql-studio
--no-browser
--no-shutdown
--address=0.0.0.0:3030
postgres
postgres://localhost:5432/
Sebelum menjalankan cargo run
Anda perlu membangun UI karena aplikasi karat secara statis menyematkan file UI dalam biner.
git clone [email protected]:frectonz/sql-studio.git
cd sql-studio
nix develop # if you use nix
cd ui
npm install
npm run build
cd ..
cargo run