phi*_*wei 12 postgresql autocomplete
有什么能为PostgreSQL提供自动完成功能吗?我正在寻找类似于RedGate的SQLPrompt的东西.目前使用pgAdmin III的查询工具但愿意考虑其他查询编辑器.
您可能喜欢pgcli,它提供了连接完成和其他不错的功能。然而,它缺少一些\*
像\dF...
.
cave> \d appellation
+-----------+---------+-----------------------------------------------------------+
| Column | Type | Modifiers |
|-----------+---------+-----------------------------------------------------------|
| id | integer | not null default nextval('appellation_id_seq'::regclass) |
| libelle | text | not null |
| region_id | integer | |
+-----------+---------+-----------------------------------------------------------+
Indexes:
"appellation_pkey" PRIMARY KEY, btree (id)
"appellation_libelle_key" UNIQUE CONSTRAINT, btree (libelle)
Foreign-key constraints:
"appellation_region_id_fkey" FOREIGN KEY (region_id) REFERENCES region(id) ON DELETE CASCADE
Referenced by:
TABLE "vin" CONSTRAINT "vin_appellation_id_fkey" FOREIGN KEY (appellation_id) REFERENCES appellation(id) ON DELETE CASCADE
Time: 0.006s
cave> SELECT * FROM appellation JOIN _
region ON region.id = appellation.region_id join
vin ON vin.appellation_id = appellation.id join
Run Code Online (Sandbox Code Playgroud)
在此示例中,提出了与外键相对应的两个连接。
归档时间: |
|
查看次数: |
17023 次 |
最近记录: |