pantry-0.10.0: Content addressable Haskell package management
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pantry.SQLite

Synopsis

Documentation

data Storage #

Represents a SQL database connection.

Constructors

Storage 

Fields

initStorage Source #

Arguments

:: HasLogFunc env 
=> Text

Database description, for lock messages.

-> Migration

Initial migration.

-> Path Abs File

SQLite database file.

-> (Storage -> RIO env a)

What to do with the initialised Storage.

-> RIO env a