Idris2Doc : Postgres.Query

Postgres.Query

(source)

Reexports

importpublic JSON.Parser
importpublic Data.Vect.Quantifiers
importpublic Postgres.Data.PostgresValue

Definitions

pgStringResultsQuery : TypeDictionary=> (header : Bool) ->String->Conn->IO (EitherString (StringResultsetheader))
Totality: total
Visibility: export
pgJSONResultQuery : String->Conn->IO (MaybeJSON)
  Get the result as JSON if it is 1 row and column that can
be successfully parsed as JSON.

Totality: total
Visibility: export
pgResultQuery : TypeDictionary=> (expected : VectcolCountType) ->String->Conn->AllCastableexpected=>IO (EitherString (rowCount : Nat**VectrowCount (HVectexpected)))
  Get the result as a rows of the expected types of values if possible.

Totality: total
Visibility: export