db-pipe: A pipe-like wrapper around sqlite-simple

[ bsd3, database, library ] [ Propose Tags ] [ Report a vulnerability ]

db-pipe wraps sqlite-simple in a small monadic pipe abstraction: a long-lived environment (DBPipeEnv) owns a connection, a transaction handle, and a couple of STM channels, and individual queries run inside a DBPipeM monad that batches select, update, insert, and ddl statements into explicit transactional blocks (transactional, transactional_, commitAll). Originally written by Dmitry Zuykov ("voidlizard") for the hbs2 project; this Hackage release is published from https://github.com/NCrashed/db-pipe so downstream projects can depend on it without vendoring.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.17 && <5), clock (>=0.8 && <0.9), interpolatedstring-perl6 (>=1.0 && <1.1), mtl (>=2.3 && <2.4), sqlite-simple (>=0.4.18 && <0.5), stm (>=2.5 && <2.6), text (>=2.0 && <2.2), unliftio (>=0.2.24 && <0.3) [details]
Tested with ghc ==9.6.6
License BSD-3-Clause
Copyright (c) Dmitry Zuykov 2023, (c) Anton Gushcha 2026
Author Dmitry Zuykov
Maintainer Anton Gushcha <ncrashed@gmail.com>
Uploaded by NCrashed at 2026-06-08T14:02:36Z
Category Database
Home page https://github.com/NCrashed/db-pipe
Bug tracker https://github.com/NCrashed/db-pipe/issues
Source repo head: git clone https://github.com/NCrashed/db-pipe.git
Distributions
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-06-08 [all 1 reports]

Readme for db-pipe-0.1.0.1

[back to package description]

db-pipe

A pipe-like wrapper around sqlite-simple.

What it does

db-pipe wraps sqlite-simple in a small monadic pipe abstraction. A long-lived DBPipeEnv owns a connection, a transaction handle, and a couple of STM channels; individual queries run inside a DBPipeM monad that batches select, update, insert, and ddl statements into explicit transactional blocks (transactional, transactional_, commitAll).

Where it came from

Originally written by Dmitry Zuykov (voidlizard) inside the hbs2 project. This Hackage release is published from github.com/NCrashed/db-pipe so downstream projects can depend on it without vendoring.

License

BSD-3-Clause; see LICENSE. Copyright holders are listed in the cabal file.