Get the latest tech news
Esqueleto Tutorial
ble of Contents When interacting with databases in Haskell, we use a library called Persistent to create mappings between database content and Haskell data types. This library can also query for records and update them, as long as the operations involved are very basic.1 Get a record with an id, get a record matching a unique constraint, see if a record matching a unique constrant exists, upsert by unique constraint, insert a batch of records, select all records from a table matching a filter, and a few more along those lines.
None
Or read this on Hacker News