Database.PostgreSQL.Helpers
newtype TableName Source #
Constructors
Fields
Defined in Database.PostgreSQL.Helpers
Methods
fromString :: String -> TableName #
showsPrec :: Int -> TableName -> ShowS #
show :: TableName -> String #
showList :: [TableName] -> ShowS #
(==) :: TableName -> TableName -> Bool #
(/=) :: TableName -> TableName -> Bool #
newtype FieldName Source #
fromString :: String -> FieldName #
showsPrec :: Int -> FieldName -> ShowS #
show :: FieldName -> String #
showList :: [FieldName] -> ShowS #
(==) :: FieldName -> FieldName -> Bool #
(/=) :: FieldName -> FieldName -> Bool #
(@=) :: ToField a => FieldName -> a -> (FieldName, Action) Source #
insert :: Connection -> TableName -> [(FieldName, Action)] -> IO () Source #
Build and run an insert query