hdbc-aeson-0.1.3.2: Deserialize from HDBC rows to FromJSON instances

Safe HaskellNone
LanguageHaskell2010

Database.HDBC.Aeson

Synopsis

Documentation

executeJ :: FromJSON a => Statement -> [SqlValue] -> IO a Source

Run a SQL query and return a value that can be cast via a FromJSON instance.

quickQueryJ :: (IConnection a, FromJSON b) => a -> String -> [SqlValue] -> IO b Source

A quick way to do a query and cast it to a FromJSON.