aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/room.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Actually fetch available rooms from the database.Harald Eilertsen2019-03-211-0/+35