Open M4rtinK opened 7 years ago
Unfortunately this is not supported by BlitzDB, so if you want to retain the order of your keys you should store the items in the document instead and convert it back to an ordered dict after retrieving the object from the database (you could write a custom Document
type that could do that for you automatically).
Looks like Document instance attributes that hold ordered dicts turn to normal dicts when the document is reatrieved from the database, short reproducer: