databrary-1: Databrary

Safe HaskellNone
LanguageHaskell2010

Context

Synopsis

Documentation

data ActionContext Source #

This is the context for when you don't have an identity, but you have a fully initialized, "command line" access to the system.

Constructors

ActionContext 

Fields

runContextM :: ActionContextM a -> Service -> IO a Source #

Perform an atomic action without an identity with a guaranteed database connection and a fixed version of now.

mkSolrIndexingContext :: ActionContext -> SolrIndexingContext Source #

Build a simpler SolrIndexingContext from a complete ActionContext