erd
Translates a plain text description of a relational database schema to a graphical entity-relationship diagram. (by BurntSushi)
squeal-postgresql
Squeal, a deep embedding of SQL in Haskell (by morphismtech)
erd | squeal-postgresql | |
---|---|---|
5 | 5 | |
1,832 | 373 | |
0.2% | 0.5% | |
2.8 | 3.5 | |
10 months ago | 19 days ago | |
Haskell | Haskell | |
LicenseRef-PublicDomain | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
erd
Posts with mentions or reviews of erd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-09.
- Rewriting essential Linux packages in Rust
-
D2 is now open source – a new, modern language that turns text to diagrams
I like it and the comparison site on https://text-to-diagram.com
I just wanted to drop a reference to Burnt Sushi's ERD tool [0]. It only does one diagram type: Entity Relationship Diagram. It's wonderful. Human-first syntax, code comments, and some simple formatting settings like colors and font sizes that help make more complex diagram pleasing and informative.
[0] https://github.com/BurntSushi/erd
- Ask HN: Open-source DB- ERD tool
- What’s everyone’s favourite documentation tools?
-
Recommendations for a CLI-tool to generate DB diagrams?
Only tool I've come across is erd but have not personally used it. We use LucidChart for our ERDs at work. They have an API to export to PNG and to create documents within it. The documentation for the API is dense, but it is something I am hoping to take a hack day or two to try to understand and see if I can automate generating and updating our own ERDs.
squeal-postgresql
Posts with mentions or reviews of squeal-postgresql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-17.
-
Choosing the right abstraction level for SQLite library.
You may want to have a look at squeal that someone mentioned the other day in the comments of this post.
-
What's your favorite Database EDSL/library in Haskell?
https://github.com/morphismtech/squeal, because, to my knowledge, it's the only option that both maintains deep type safety without losing the expressive power of SQL. It can even typecheck your database migrations. There's even a tool to generate the types of your schema based on an existing database: https://github.com/mwotton/squealgen
-
Writing a simple Haskell Persistence layer using Generics and Reflection
Yep, https://github.com/morphismtech/squeal does this too.
-
Practical Haskell, 3rd edition, is out!
If you want an example of a type-safe SQL eDSL in Haskell that doesn't have those problems (and supports more Postgres features than esquelto), I'd recommend https://github.com/morphismtech/squeal.
- New version of Squeal, 0.9 released
What are some alternatives?
When comparing erd and squeal-postgresql you can also consider the following projects:
HDBC - Haskell Database Connectivity
acid-state - Add ACID guarantees to any serializable Haskell data structure
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
selda - A type-safe, high-level SQL library for Haskell
classy-influxdb-simple
sqlite-simple - Mid-level bindings for sqlite