keter/test/postgres.hs
2012-05-06 19:09:37 +03:00

12 lines
238 B
Haskell

{-# LANGUAGE OverloadedStrings #-}
import Keter.Postgres
main :: IO ()
main = do
pg <- load "postgres.yaml"
getInfo pg "foo" >>= print
getInfo pg "bar" >>= print
getInfo pg "foo" >>= print
getInfo pg "bar" >>= print