Browse Source

Update README.md

pull/102/head
Don Alfons Nisnoni 5 years ago
parent
commit
60940af37b
No known key found for this signature in database GPG Key ID: CC97E5A3903521A0
  1. 50
      README.md

50
README.md

@ -2,18 +2,16 @@
[![Marketplace Version](https://vsmarketplacebadge.apphb.com/version-short/cweijan.vscode-mysql-client2.svg)](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/cweijan.vscode-mysql-client2.svg)](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/cweijan.vscode-mysql-client2.svg)](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2)
Database Client For Visual Studio Code
Database Client for Visual Studio Code. It supports databases MySQL/MariaDB, Microsoft SQL Server, PostgreSQL, Redis, and ElasticSearch.
> Supported databases: Mysql/MariaDB、SqlServer、Postgresql、Redis、ElasticSearch
>
> Project site: [vscode-database-client](https://github.com/cweijan/vscode-database-client), [中文文档](README_CN.md)
**Features**
## Features
- [Database Client](#database-client)
- [Connect](#connect)
- [Table](#table)
- [Execute SQL](#execute-sql)
- [Execute SQL Query](#execute-sql-query)
- [Generate Mock Data](#generate-mock-data)
- [History](#history)
- [Backup/Import](#backupimport)
@ -21,48 +19,53 @@ Database Client For Visual Studio Code
## Installation
Install from vscode marketplace [vscode-mysql](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2).
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
```
ext install cweijan.vscode-mysql-client2
```
## Connect
1. Open MySQL Panel, then click the `+` button.
2. Input your connect info then click connect.
1. Open Database Explorer panel, then click the `+` button.
2. Select your database type, input your database connection information then click the connect button.
![connection](images/connection.jpg)
## Table
1. Click table to open table view.
2. Then you can do data modification on view page.
2. Then you can do data modification on the view page.
![query](images/QueryTable.jpg)
## Execute SQL
## Execute SQL Query
In the Database Explorer panel, click the `Open Query` button.
![newquery](images/newquery.jpg)
* In the MySQL Panel, click the `New Query` button.
![newquery](images/newquery.jpg)
* Now you can edit and run SQL within the editor.
* ![run](images/run.jpg)
Now you can edit and run SQL query within the editor.
![run](images/run.jpg)
## Generate Mock Data
- Now you do not need spend time writing test data.
![mockData](images/mockData.png)
Now you do not need to spend time writing test data.
![mockData](images/mockData.png)
## History
- Click history button to open run history record.
![history](images/history.jpg)
Click the history button to open the list of recently executed query history records.
![history](images/history.jpg)
## Backup/Import
* Move to ant DatabaseNode or TableNode, backup/import options are listed in the context menu (right click to open).
![bakcup](images/Backup.jpg)
Move to ant DatabaseNode or TableNode. The export/import options are listed in the context menu (right click to open).
![bakcup](images/Backup.jpg)
## Filter
![filter](images/filter.gif)
# Credits
## Credits
- [vscode-mysql](https://github.com/formulahendry/vscode-mysql): The original version of this extension.
- [mysqldump](https://github.com/bradzacher/mysqldum): Data dump lib.
@ -72,8 +75,3 @@ Install from vscode marketplace [vscode-mysql](https://marketplace.visualstudio.
- [node-mysql2](https://github.com/sidorares/node-mysql2) : Mysql client.
- [node-postgres](https://github.com/brianc/node-postgres): PostgreSql client.
- [tedious](https://github.com/tediousjs/tedious): SqlServer client.
## RoadMap
- Sync table struct from diffrent connection.
- Better Intetllisense sql.
Loading…
Cancel
Save