#plant-uml #postgresql #sql #mermaid

bin+lib sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string

12 unstable releases (3 breaking)

0.4.0 Nov 11, 2024
0.3.3 Oct 27, 2024
0.3.1 Apr 14, 2024
0.2.0 Oct 29, 2023
0.1.3 Oct 10, 2022

#479 in Command line utilities

Download history 51/week @ 2024-08-24 62/week @ 2024-08-31 54/week @ 2024-09-07 54/week @ 2024-09-14 55/week @ 2024-09-21 57/week @ 2024-09-28 72/week @ 2024-10-05 70/week @ 2024-10-12 74/week @ 2024-10-19 428/week @ 2024-10-26 434/week @ 2024-11-02 279/week @ 2024-11-09 279/week @ 2024-11-16 58/week @ 2024-11-23 150/week @ 2024-11-30 91/week @ 2024-12-07

592 downloads per month

MIT license

42KB
1K SLoC

sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string
Inspired by planter

Currently, supports only PostgreSQL NoTls connection

Why created

I like the idea of planter and I use it in internal confluence documentation with PlantUML plugin for my projects.
But I want to make it better

Installation

cargo install sqlant

Usage

PlantUML

sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db --legend -e

example link

postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db -o mermaid

Mermaid

image

Dependencies

~8–18MB
~254K SLoC