hnix-store-db-0.1.0.0: Nix store database support
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Nix.Store.DB.Util

Synopsis

Documentation

persistLikeNix :: QuasiQuoter Source #

Coerce table names to their plural names i.e. ValidPath -> ValidPaths

setWAL :: Bool -> SqliteConnectionInfo -> SqliteConnectionInfo Source #

Configure WAL (write ahead log)

enableWAL :: SqliteConnectionInfo -> SqliteConnectionInfo Source #

Enable WAL (write ahead log)

disableWAL :: SqliteConnectionInfo -> SqliteConnectionInfo Source #

Disable WAL (write ahead log)

setFK :: Bool -> SqliteConnectionInfo -> SqliteConnectionInfo Source #

Configure FK (foreign key constraints)

enableFK :: SqliteConnectionInfo -> SqliteConnectionInfo Source #

Enable foreign key constraint checking

disableFK :: SqliteConnectionInfo -> SqliteConnectionInfo Source #

Disable foreign key constraint checking