avers-0.0.17.1: Server-side implementation of the Avers storage model

Safe HaskellNone
LanguageHaskell2010

Avers.Views

Synopsis

Documentation

viewTableName :: View obj a -> Text #

viewTable :: View obj a -> Exp Table #

Construct the table name for the given view. The table names look something like this: "view_openGames"

data Record a #

Constructors

Record 

Fields

Instances

ToJSON a => ToJSON (Record a) # 
ToDatum a => ToDatum (Record a) # 

Methods

toDatum :: Record a -> Datum #

Pk (Record a) # 

Methods

toPk :: Record a -> Text #

updateView :: ToDatum a => View obj a -> ObjId -> Maybe obj -> Avers () #