You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 years ago | |
---|---|---|
.github | 5 years ago | |
.vscode | 5 years ago | |
images | 4 years ago | |
public | 4 years ago | |
resources | 4 years ago | |
sqlite | 4 years ago | |
src | 4 years ago | |
syntaxes | 5 years ago | |
test | 4 years ago | |
types | 5 years ago | |
.gitignore | 5 years ago | |
.vscodeignore | 5 years ago | |
CHANGELOG.md | 4 years ago | |
LICENSE | 5 years ago | |
README.md | 4 years ago | |
README_CN.md | 4 years ago | |
backlog.md | 5 years ago | |
i18n.js | 5 years ago | |
package.json | 4 years ago | |
package.nls.json | 4 years ago | |
package.nls.zh-cn.json | 4 years ago | |
postcss.config.js | 5 years ago | |
tailwind.config.js | 5 years ago | |
tsconfig.json | 5 years ago | |
webpack.config.js | 4 years ago | |
webpack.config.lib.js | 5 years ago |
README.md
Database Client
Database Client for Visual Studio Code. It supports databases MySQL/MariaDB, Microsoft SQL Server, PostgreSQL, SQLite, MongoDB, Redis, and ElasticSearch.
Project site: vscode-database-client, 中文文档
Features
Installation
Install from vscode marketplace vscode-database-client.
Connect
- Open Database Explorer panel, then click the
+
button. - Select your database type, input connection config then click the connect button.
Table
- Click table to open table view.
- Then you can do data modification on the view page.
Execute SQL Query
In the Database Explorer panel, click the Open Query
button.
That will open a sql editor bind of database, it provider:
- IntelliSense sql edit.
- snippets:
sel、del、ins、upd、joi
... - Run selected or current cursor sql (Shortcut : F9).
- Run all sql (Shortcut : Ctrl+F9).
Generate Mock Data
You can easily generate test data.
History
Click the history button to open the list of recently executed query history records.
Sqlite
If you using Linux or MacOS that must install sqlite3 first.
- Debian, Ubuntu:
sudo apt-get install sqlite
- CentOS, Fedora, RedHat:
sudo yum install sqlite3
- MacOS:
brew install sqlite3
Backup/Import
Move to ant DatabaseNode or TableNode. The export/import options are listed in the context menu (right click to open).
Setting
This extension contain some setting, find him in the following way.
Filter
Credits
- vscode-mysql: The original version of this extension.
- mysqldump: Data dump lib.
- sql-formatter Sql format lib.
- umy-ui: Result view render.
- Core Lib:
- node-mysql2 : Mysql client.
- node-postgres: PostgreSql client.
- tedious: SqlServer client.
- ioredis: Redis client.
- vscode-sqlite: SQLite client code reference.