JackRose-0.8: Spaced repetition web server

Copyright(c) Michael Mounteney, 2017
LicenseBSD 3 clause
Maintainerthe project name, all lower case, at landcroft dot com
Stabilityexperimental
Portabilityundefined
Safe HaskellNone
LanguageHaskell2010

ExecuteSqlStmt

Description

 

Synopsis

Documentation

exeStmt Source #

Arguments

:: ([[Maybe String]] -> a)

Conversion function. We always do something with the result, so we might as well put the conversion here. It generally makes the calling site much tidier.

-> Connection 
-> String

command

-> [String]

list of substitution parameters.

-> IO a 

execute a SQL statement and do something to the result.