You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database Client for Visual Studio Code. It supports databases MySQL/MariaDB, Microsoft SQL Server, PostgreSQL, SQLite, MongoDB, Redis, and ElasticSearch.
This project is a database client for VSCode, supports manager **MySQL/MariaDB, PostgreSQL, SQLite, Redis, ClickHouse, 达梦**, and **ElasticSearch**, and works as an **SSH** client, boost your maximum productivity!
I put a lot of effort into developing this extension, but often receives unfriendly reviews, just because they are not satisfied with a certain feature.
29
+
30
+
For a free software, this seriously demotivated the author, so I convert it to paid software, you can still using for free, but you cannot use all the features.
31
+
7
32
## Features
8
33
9
34
-[Database Client](#database-client)
10
35
-[Connect](#connect)
11
36
-[Table](#table)
12
37
-[Execute SQL Query](#execute-sql-query)
13
-
-[Generate Mock Data](#generate-mock-data)
14
-
-[History](#history)
15
38
-[Backup/Import](#backupimport)
16
39
-[Setting](#setting)
17
40
-[Filter](#filter)
41
+
-[Generate Mock Data](#generate-mock-data)
42
+
-[History](#history)
18
43
19
44
## Installation
20
45
21
46
Install from vscode marketplace [vscode-database-client](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2).
22
47
23
48
## Connect
24
49
25
-
1. Open Database Explorer panel, then click the`+` button.
50
+
1. Open Database Explorer panel, then click the`+` button.
26
51
2. Select your database type, input connection config then click the connect button.
27
52
28
53

29
54
55
+
Two panels are created because in some cases you need to view both SQL and NoSQL data at the same time, you can drag the panel to the other by long-pressing.
56
+
30
57
## Table
31
58
32
59
1. Click table to open table view.
33
-
2. Then you can do data modification on the view page.
60
+
2. Click button beside table to open new table view.
61
+
3. Then you can do data modification on the table view.
34
62
35
63

36
64
@@ -40,52 +68,69 @@ In the Database Explorer panel, click the `Open Query` button.
40
68
41
69

42
70
43
-
That will open a sql editor bind of database, it provider:
71
+
That will open a SQL editor bind of database, it provider:
44
72
45
-
1. IntelliSense sql edit.
73
+
1. IntelliSense SQL edit.
46
74
2. snippets:`sel、del、ins、upd、joi`...
47
-
3. Run selected or current cursor sql (Shortcut : Ctrl+Enter).
48
-
4. Run all sql (Shortcut : Ctrl+Shift+Enter).
75
+
3. Run selected or current cursor SQL (Shortcut : Ctrl+Enter).
76
+
4. Run all SQL (Shortcut : Ctrl+Shift+Enter).
49
77
50
-

78
+
Note: The extension is developed using Nodejs. Nodejs does not allow duplicate name attributes, so you need to avoid columns with the same name in your query, otherwise the results will not be displayed in full.
51
79
52
-
## Generate Mock Data
80
+

53
81
54
-
You can easily generate test data.
82
+
This extension supports codelen, but does not support stored procedures and functions. If you use them frequently, it is recommended to disable codelen
In order to improve performance, the database information is cached. If your database structure changes externally, you need to click the refresh button to refresh the cache。
59
88
60
-
Click the history button to open the list of recently executed query history records.
61
-
62
-

89
+

63
90
64
91
## Backup/Import
65
92
66
93
Move to ant DatabaseNode or TableNode. The export/import options are listed in the context menu (right click to open).
67
94
95
+
The extension implements the backup function, but it is not stable enough. You can add mysql_dump or pg_dump to the environment variable, and the extension will use these tools for backup.
96
+
68
97

69
98
70
99
## Setting
71
100
72
-
This extension contain some setting, find him in the following way.
101
+
This extension contain some setting, can be modified as follows.
73
102
103
+
The default settings can get the best experience, don't worry
0 commit comments