Tyler Hallada
780f0be433
This required a ton of changes including updating error handling and separating out the models into intermediate representations so that fields that are marked non-null in the database are not `Option` in the final model. The update allows using `query_as!` in `interior_ref_list` and `merchandise_list` and model functions to specify a generic `Executor` param that can take either a db pool connection, transaction, or plain db connection. This should allow me to impl my old `Model` trait again. Also compile times are magically 20x faster?!? |
||
---|---|---|
.. | ||
interior_ref_list.rs | ||
merchandise_list.rs | ||
mod.rs | ||
model.rs | ||
owner.rs | ||
shop.rs | ||
transaction.rs |