Hey RomanGamer ,
that's a good point. Right now I think it's only possible using the instance variable db._storage
, so
db._storage.flush()
Maybe there should be a better way to do this, like having a storage
property on every TinyDB
instance. I've opened a GitHub issue for this, so I don't forget it: https://github.com/msiemens/tinydb/issues/258
Cheers!