haskell-relational-record/doc/examples/Customer.hs

12 lines
242 B
Haskell
Raw Normal View History

2013-07-03 15:52:28 +04:00
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
module Customer where
import Prelude hiding (id)
import Database.Record.TH (derivingShow)
import DataSource (defineTable)
$(defineTable []
"LEARNINGSQL" "customer" [derivingShow])