I'm realizing as the project grows, it will get more and more tedious to add tables to sqlite. I chose sqlite for the performance over simply just storing the cache in a json file.
So I will need to either:
Stop destructuring the individual properties into table columns and just do a verbatim json string dump into the tables (not ideal)
Or, investigate an alternative method to store the data. Its ineffecient to destructure, get the data down to a manner fitting to be inserted and then store vs just storing the data in its original structure. TinyDB seems to still use .json files, but has some optimizations and querying built in.
I'm realizing as the project grows, it will get more and more tedious to add tables to sqlite. I chose sqlite for the performance over simply just storing the cache in a json file.
So I will need to either: