BazaarRealmAPI/src/models
Tyler Hallada 780f0be433 Upgrade to sqlx 0.4 beta master branch
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?!?
2020-11-09 00:37:04 -05:00
..
interior_ref_list.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00
merchandise_list.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00
mod.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00
model.rs Working create_transaction endpoint 2020-10-31 20:34:20 -04:00
owner.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00
shop.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00
transaction.rs Upgrade to sqlx 0.4 beta master branch 2020-11-09 00:37:04 -05:00