© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. Serrano MenaPractical Haskellhttps://doi.org/10.1007/978-1-4842-8581-7_11

11. Safe Database Access

Alejandro Serrano Mena1  
(1)
Utrecht, The Netherlands
 

In the previous two chapters, you saw how to access the file system to read and save information in a durable way. You’ve been given all the tools for dealing with either a custom file format or a treelike information representation such as JSON.

However, in most production system applications, you aren’t working with files. Instead, a database management system (DBMS) is used to store the application’s information and keep it safe. Furthermore, most DBMSs provide functionalities such as transactions, logging, ...

Get Practical Haskell: A Real-World Guide to Functional 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.