ihp-1.3.0: Haskell Web Framework
Copyright(c) digitally induced GmbH 2020
Safe HaskellNone
LanguageHaskell2010

IHP.ScriptSupport

Description

 
Synopsis

Documentation

runScript :: ConfigBuilder -> Script -> IO () Source #

Initializes IHP and then runs the script inside the framework context

type Script = (?modelContext :: ModelContext, ?context :: FrameworkConfig) => IO () Source #

A script is just an IO action which requires a database connection and framework config