Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data SqlQuery
- data SqlResultQuery
- rawSqlStr :: SqlQuery -> Text
Documentation
Represents intermediate type for receiving json
data SqlResultQuery Source #
Represents type that is the result of the json "computation"
Show SqlResultQuery Source # | |
Generic SqlResultQuery Source # | |
ToJSON SqlResultQuery Source # | aeson instance for SqlResultQuery |
FromJSON SqlResultQuery Source # | aeson instance for SqlResultQuery |
type Rep SqlResultQuery Source # | |