@hackage hasql0.1.0
A minimalistic general high level API for relational databases
Installation
Dependencies (18)
- attoparsec >=0.12 && <0.13
- base >=4.5 && <4.8
- base-prelude >=0.1.3 && <0.2
- bytestring >=0.10 && <0.11
- ex-pool >=0.2 && <0.3
- hasql-backend >=0.1 && <0.2 Show all…
Dependents (79)
@hackage/pgmq-hasql, @hackage/postgres-websockets, @hackage/hasql-transaction-io, @hackage/superevent, @hackage/hasql-notifications, @cardano/marlowe-chain-sync, Show all…
A robust and concise yet powerful API for communication with arbitrary relational databases. Features:
Concise and crisp API. Just a few functions and two monads doing all the boilerplate job for you.
Automated management of resources related to connections, transactions and cursors.
A built-in connections pool.
Employment of prepared statements. Every statement you emit gets prepared and cached. This raises the performance of the backend.
Support for cursors. Allows to fetch virtually limitless result sets in a constant memory using streaming.
Type-level generation of templates. You just can't write a statement with an incorrect number of placeholders.
Mapping to any types actually supported by the backend.