aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/screening.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ScreeningRecord model to ScreeningHarald Eilertsen2019-08-101-2/+2
|
* Rename Screening model to AggregateScreeningHarald Eilertsen2019-08-101-4/+5
|
* Update /screenings endpoint to return full info on screenings.Harald Eilertsen2019-04-281-5/+32
| | | | | 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-35/+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 endpoint to fetch screenings from the database.Harald Eilertsen2019-04-081-0/+77
Not entirely happy about the way this turned out for now. A more ergonomic return type from the models::screenings::get_all() function will be investigated.