Safe HaskellNone

IHP.IDE.Data.Controller

Documentation

connectToAppDb :: IO Connection Source #

fetchTableNames :: Connection -> IO [Text] Source #

fetchRow :: Connection -> Text -> [Text] -> IO [[DynamicField]] Source #

tablePrimaryKeyFields :: Connection -> Text -> IO [Text] Source #

fetchRows :: FromRow r => Connection -> Text -> IO [r] Source #

updateValues :: (Semigroup b, IsString b) => [(b, b)] -> [b] Source #

Orphan instances

FromRow ColumnDefinition Source # 
Instance details

Methods

fromRow :: RowParser ColumnDefinition

FromField DynamicField Source # 
Instance details

Methods

fromField :: FieldParser DynamicField

Controller DataController Source # 
Instance details