aboutsummaryrefslogtreecommitdiffstats
path: root/src/insert.rs
AgeCommit message (Collapse)Author
2022-03-27Add license (GNU GPLv3+)v0.0.1Teddy Wing
2022-03-23extract(): Rename function to `db_insert()`Teddy Wing
The name `extract()` didn't make sense to me any more since the function is doing more than its originally intended behaviour which was to extract the YAML into a hash-like format for easy insertion into the database. I decided to give up on that behaviour since this works for what we want it to do. Maybe this function is doing more than it should, but I'm okay with that for the current functional requirements.
2022-03-23insert(): Add documentationTeddy Wing
2022-03-21Add placeholders for code documentation remindersTeddy Wing
2022-03-21lib: Move `insert()` to a new moduleTeddy Wing
Split this code out into its own module like we've done with `select()`. Feels better organised this way.