Backend for the persistent library using sqlite3.

Version on this page:
LTS Haskell 19.18:
Stackage Nightly 2022-08-04:
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-,2463

Module documentation for

  • Database
    • Database.Persist
      • Database.Persist.Sqlite
    • Database.Sqlite

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.


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


Provide a FromJSON instance for SqliteConf.