dbterd 基于dbt artifacts 生成ERD 代码的工具

rongfengliang-荣锋亮 / 2024-06-07 / 原文

dbterd 基于dbt artifacts 生成ERD 代码的工具,内部是通过dbt-artifacts-parser 对于dbt 项目的元数据进行解析
当然看到部分可能会使用dbt-core 的cli

包含的一些特性

  • 支持多种模型格式的target 
    包含了dbml,mermaid,plant目录,d2,graphviz 等
  • 基于元数据的处理
  • 支持cli 以及python api 模式

说明

围绕dbt 的数据周边还是很多的,dbterd 项目属于一个模型展示的,可以学些下

参考资料

https://dbterd.datnguyen.de/1.13/
https://github.com/datnguye/dbterd
https://dbml.dbdiagram.io/home/
https://github.com/yu-iskw/dbt-artifacts-parser
https://github.com/holistics/dbml/
https://dbterd.datnguyen.de/1.13/nav/guide/targets/generate-dbml.html