dotnetcore / dotnetcore/SmartCode

在生成器中包含PG数据库的物化视图 (Materialized View)信息

未关闭
#74 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
577
派生
167
PR 合并指标
30 天内没有已合并 PR

描述

最近用到了PG数据库的物化表,发现在现有的生成器代码中查询数据库时没有包含物化视图,应该是修改 `src/SmartCode.Generator/Maps/Database-PostgreSql.xml` 文件中的 `QueryTable` 和 `QueryColumn` 两个查询。

但是目前还不知道如何查询物化视图的信息, 请问谁能给一些建议?

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with src/SmartCode.Generator/Maps/Database-PostgreSql.xml and inspect the QueryTable and QueryColumn queries. Research how PostgreSQL exposes materialized-view and column metadata, then compare that with the existing generator queries. Done means materialized views and their columns are included in generated database information.

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

评估

技术栈
csharp, postgresql
领域
databases
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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