aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/database_entity_crud.rs
Commit message (Collapse)AuthorAgeFilesLines
* major CRUD refactorBryan Newbold2018-09-071-0/+250
This is the start of a large refactor to move all entity CRUD (create, read, update, delete) model/database code into it's own file. HACKING has been updated with an overview of what happens in each file. Next steps: - split rev (and sub-table) insertion in to db_rev_insert and make create/update generic - inserts should be batch (vector) by default - move all other entities into this new trait framework - bypass api_server wrappers and call into CRUD from api_wrappers for entity ops (should be a big cleanup)