Safe Haskell | None |
---|---|
Language | Haskell2010 |
- viewTableName :: View obj a -> Text
- viewTable :: View obj a -> Exp Table
- data Record a = Record {
- recId :: ObjId
- recContent :: a
- updateObjectViews :: ObjectType a -> ObjId -> Maybe a -> Avers ()
- updateView :: ToDatum a => View obj a -> ObjId -> Maybe obj -> Avers ()
Documentation
viewTableName :: View obj a -> Text Source #
viewTable :: View obj a -> Exp Table Source #
Construct the table name for the given view. The table names look something like this: "view_openGames"
Record | |
|
updateObjectViews :: ObjectType a -> ObjId -> Maybe a -> Avers () Source #