Backend for the persistent library using sqlite3.

Version on this page:
LTS Haskell 21.13:
Stackage Nightly 2023-09-25:
Latest on Hackage:

See all snapshots persistent-sqlite appears in

MIT licensed and maintained by Michael Snoyman
This version can be pinned in stack with:persistent-sqlite-,2546

Module documentation for

This package includes a thin sqlite3 wrapper based on the direct-sqlite package, as well as the entire C library, so there are no system dependencies.


  • Add missing source files #382


  • Add log support to persistent-sqlite #381


  • Added a Show instance for SqliteConf.
  • Use SqliteException instead of calling fail #364


  • Turn on write-ahead log #363
    • Prepending WAL=off to your connection string will recover the previous behavior.

Fix rendering of UTCTime to match SQLite requirements (see issue #328).


Provide a FromJSON instance for SqliteConf.