IHP Api Reference
Copyright(c) digitally induced GmbH 2020
Safe HaskellNone

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