serviette-0.1.0.2: JSON to Sql raw string or db result in json format

Safe HaskellNone
LanguageHaskell2010

Data.Serviette

Description

Define functions needed for Json to Text manipulation current version supports only raw sql string result next version will implement database query result in the json format as well as errors in the json structure if any

Synopsis

Documentation

data SqlQuery Source #

Represents intermediate type for receiving json

data SqlResultQuery Source #

Represents type that is the result of the json "computation"

rawSqlStr :: SqlQuery -> Text Source #

Returns raw sql query string