ampersand
hasql-th
Our great sponsors
ampersand | hasql-th | |
---|---|---|
- | 4 | |
40 | 110 | |
- | - | |
9.4 | 5.2 | |
10 days ago | 5 months ago | |
Haskell | Haskell | |
LicenseRef-GPL | MIT License |
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.
ampersand
We haven't tracked posts mentioning ampersand yet.
Tracking mentions began in Dec 2020.
hasql-th
-
How to use PostgreSQL with Haskell: hasql
Hasql is an ecosystem of libraries. To keep it simple, let’s limit ourselves to core hasql, hasql-transaction, and hasql-th. We’re using hasql 1.6.3.2 published in 2023.
-
Parsing SQL
unexpected '&'
https://github.com/nikita-volkov/hasql-th#error-example-1
-
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?
sqlite-simple - Mid-level bindings for sqlite
Neks - A dead simple networked key/value store
hocilib - A lightweight Haskell binding to the OCILIB C API
tokyocabinet-haskell - This repository will get archived soon. Please visit https://git.singpolyma.net/tokyocabinet-haskell
dbmigrations - A library for the creation, management, and installation of schema updates for relational databases.
hasql - The fastest PostgreSQL libpq-based driver for Haskell
HongoDB - A Simple Key Value Store
wai-middleware-cache-redis - Redis backend for wai-middleware-cache
HDBC-odbc - ODBC driver for HDBC
hasql-notifications - Use PostgreSQL LISTEN/NOTIFY with your Hasql Types
esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.
hasql-transaction - A composable abstraction over retriable transactions for Hasql