It appears that the persistence of the data in a database file is not persistent at all, but all in-memory.
However, when I try to view the data in the database in a 3rd party app. Nothing shows up in the db table!
This code works and displays the contents of the "database" to the console; however, nothing appears in the database file.
class AndroidStudioRelease(minidb.Model):
date = str
name = str
category = str
release_type = str
filename = str
location = str
sha256 = str
filetype = str
platform = str
...
db = minidb.Store('android-studio-downloads')
db.register(AndroidStudioRelease)
...
release = AndroidStudioRelease(date=date, name=name, category=category, release_type=release_type, filename=filename, location=download_location, sha256=sha256, filetype=filetype, platform=platform)
release.save(db)
...
for release in AndroidStudioRelease.load(db, (AndroidStudioRelease.c.platform == "Linux") & (AndroidStudioRelease.c.category == "Preview")):
print(release)