hasql
The fastest PostgreSQL libpq-based driver for Haskell (by nikita-volkov)
squeal-postgresql
Squeal, a deep embedding of SQL in Haskell (by morphismtech)
hasql | squeal-postgresql | |
---|---|---|
2 | 5 | |
515 | 350 | |
- | -0.6% | |
8.8 | 5.6 | |
16 days ago | 5 days ago | |
Haskell | Haskell | |
MIT License | 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.
hasql
Posts with mentions or reviews of hasql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
haskell todo list app (beginner)
for the database I would use postgresql, I found a library here https://github.com/nikita-volkov/hasql
-
[ANN] hasql-listen-notify: LISTEN/NOTIFY support for hasql
The API comes free from all kinds of exceptions. All error-reporting is explicit and is presented using the Either type.
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 hasql and squeal-postgresql you can also consider the following projects:
mywatch
selda - A type-safe, high-level SQL library for Haskell
direct-sqlite
beam - A type-safe, non-TH Haskell SQL library and ORM
hocilib - A lightweight Haskell binding to the OCILIB C API
persistent-mysql-haskell - Persistence interface for Haskell allowing multiple storage methods.
hasql-th - Template Haskell utilities for Hasql
sqlite-simple - Mid-level bindings for sqlite
HongoDB - A Simple Key Value Store
acid-state - Add ACID guarantees to any serializable Haskell data structure
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
opaleye
hasql vs mywatch
squeal-postgresql vs selda
hasql vs direct-sqlite
squeal-postgresql vs beam
hasql vs hocilib
squeal-postgresql vs persistent-mysql-haskell
hasql vs hasql-th
squeal-postgresql vs sqlite-simple
hasql vs HongoDB
squeal-postgresql vs acid-state
hasql vs esqueleto
squeal-postgresql vs opaleye