Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
parseEntityValues :: PersistEntity record => EntityDef -> [PersistValue] -> Either Text (Entity record) Source
entityColumnNames :: EntityDef -> SqlBackend -> [Sql] Source
entityColumnCount :: EntityDef -> Int Source
isIdField :: PersistEntity record => EntityField record typ -> Bool Source
hasCompositeKey :: EntityDef -> Bool Source
dbIdColumns :: SqlBackend -> EntityDef -> [Text] Source
dbColumns :: SqlBackend -> EntityDef -> [Text] Source