dbcli / dbcli/pgcli

Feature request: easily list/explore all objects (in schema)

未关闭
#1,586 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
Python
星标
13.4k
派生
613
平均合并
6 天 14 小时
30 天内合并 PR
10

描述

In navigating a database with a lot of schemas, and a lot of different type of objects (tables, views, functions, data types, trigger, etc), there is a lot of friction in exploring the database because you have to manually list each type of object. And with schemas, the non-intuitive search path semantics make it extra hard.

I think it would be a great feature if one could just (as a figure of speech) `cd` into a schema and run `ls [-l]`, which would then show everything and what it is.

贡献指南

打开贡献指南

调研方向

首先检查 pgcli 当前如何列出表、视图、函数、数据类型和触发器,以及 schema 导航和 search paths 是如何表示的。定义输入一个 schema 后跟 `ls` 或 `ls -l` 时的范围和输出;完成标准是一个命令能够显示所请求的对象类型,并提供有用的类型和详细信息。

由索引模型根据 Issue 内容生成。

评估

技术栈
postgresql, python
领域
cli, databases
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。