Skip to content

agrafix/psql-helpers

Repository files navigation

psql-helpers

Build Status Hackage Deps

A small collection of helper functions to generate PostgreSQL queries

Examples

Insert

{-# LANGUAGE OverloadedStrings #-}
import           Database.PostgreSQL.Simple
import           Database.PostgreSQL.Simple.ToField

foo :: Connection -> IO ()
foo conn = insert "foo_table" ["bar" @= 5, "baz" @= True]

About

Haskell: A small collection of helper functions to generate postgresql queries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published