How can find out what a tinydb database contains, sort of like asking for the colums of a table in SQL with DESCRIBE name_of_table;
or calling keys() on a dictionary.
In general, I'm looking for tips on how to examine a Tiny Db database when you're not quite sure what it contains.
Tinydb fits entirely in memory so it's ok to call .all(), get data and make some stats. Here is the code that dumps db structure per table per document type, defined by the set of keys:
Sample output: