Persistent storage, SQL, and NoSQL

The libraries in this subsection are as follows:

  • acid-state and safecopy: These libraries go hand in hand, giving a lightweight, disk-stored database of Haskell values with strong ACID guarantees and migrations.
  • persistent: A by-product of the Yesod web framework, persistent is a backend-agnostic high-level query abstraction over SQL-like databases. Provides type-safe models with automatic schema migrations.
  • esqueleto: Add type-safe SQL query EDSL that works with the persistent library and its models.
  • HDBC: A SQL database abstraction layer similar to persistent except lower level. Provides transactions and marshalling of SQL values to Haskell values and the other way around.
  • HDBC-odbc: Hook any ODBC-enabled database ...

Get Haskell High Performance Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.