modified: journal.rst

This commit is contained in:
Russell Ballestrini 2022-09-22 10:51:50 -04:00
parent 65189452a3
commit 10e8944f13

View file

@ -328,3 +328,19 @@ for product in all_products:
request.tm.commit()
```
Thu Sep 22 10:50:28 AM EDT 2022
===================================
RAW SQL shop file usage:
.. code_block::
sqlite> select shop_id, SUM(total_file_bytes), name from mps_product inner join mps_shop on mps_product.shop_id=mps_shop.id group by shop_id;
shop_id|SUM(total_file_bytes)|name
19890a44f65c11ec86a2843a4b34def8|1536736|fab shop
1ba703a2015711edb393843a4b34def8|958612|2022 shop
9c1b286c007911ed9016843a4b34def8|349261|localhost.localhost