|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| getOneObject :: Model -> Int -> AController Model |
| Get an object from DB specified by Model and object ID.
Fail if count(such objects)=!1.
|
|
| insertModel |
| :: Model | Model to create
| | -> Form | Displayed form
| | -> String | Form ID
| | -> [SqlValue] | Additional fields (which are not in form)
| | -> AController () | | | Create new Model in DB, get fields from request
|
|
|
| updateModel |
| :: Model | Model
| | -> Form | | | -> String | Form ID
| | -> String | Object ID
| | -> AController () | | | Update a model in DB, get fields from request
|
|
|
| deleteModel |
|
|
| Produced by Haddock version 2.4.2 |