hasql
The fastest PostgreSQL libpq-based driver for Haskell (by nikita-volkov)
hasql-th
Template Haskell utilities for Hasql (by nikita-volkov)
Our great sponsors
hasql | hasql-th | |
---|---|---|
1 | 3 | |
479 | 104 | |
- | - | |
6.8 | 5.4 | |
7 days ago | 2 months ago | |
Haskell | Haskell | |
MIT License | MIT 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-01-30.
-
[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.
hasql-th
Posts with mentions or reviews of hasql-th.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-22.
- Parsing SQL
-
Open Source SQL Parsers
There is also a Haskell port of the original PostgreSQL parser, implemented using megaparsec, which makes it highly flexible and hackable: https://github.com/nikita-volkov/hasql-th#implementation
-
Haskell doesn't make sense without pure functions
I'd consider hasql-th a good example in what concerns databases. Otherwise, I just use aeson together with deriving-aeson and lens-aeson.
What are some alternatives?
When comparing hasql and hasql-th you can also consider the following projects:
Neks - A dead simple networked key/value store
mywatch
direct-sqlite
squeal-postgresql - Squeal, a deep embedding of SQL in Haskell
tokyocabinet-haskell - This repository will get archived soon. Please visit https://git.singpolyma.net/tokyocabinet-haskell
hocilib - A lightweight Haskell binding to the OCILIB C API
wai-middleware-cache-redis - Redis backend for wai-middleware-cache
hasql-notifications - Use PostgreSQL LISTEN/NOTIFY with your Hasql Types
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
yxdb-utils - Utilities for parsing Alteryx Database format
ether - Monad Transformers and Classes
hasql-transaction - A composable abstraction over the retryable transactions for Hasql