aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/film.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update deps, drop serde_derive.Harald Eilertsen2020-08-221-1/+1
| | | | | serde_derive is included by passing the 'derive' feature to serde instead.
* Update /screenings endpoint to return full info on screenings.Harald Eilertsen2019-04-281-1/+1
| | | | | This makes each screening record self-contained, and the json payload more consistent with how it semantically fit together.
* Move functions to query/modify db to connection object.Harald Eilertsen2019-04-081-17/+1
| | | | | | Makes tha API a bit nicer by asking the database rather than passing the database on to each model. Reserve models for method/functions that work on the model structs themselves.
* Add models::film::by_title and models::room::by_name methods.Harald Eilertsen2019-04-081-0/+7
|
* Add route to fetch films from database.Harald Eilertsen2019-04-021-0/+43