Closed sshindesiddesh closed 6 years ago
Is there any plan to support the persistence of nested dictionaries?
E.g. mydict = SqliteDict('./my_db.sqlite', autocommit=True) newdict = dict() dict['key-1'] = 'value-1' mydict['newdict'] = newdict
newdict1 = mydict['newdict'] newdict1['key-2'] = 'value-2'
But this new key ('key-2') is not reflected in the database.
See the Beware section in README.
Is there any plan to support the persistence of nested dictionaries?
E.g. mydict = SqliteDict('./my_db.sqlite', autocommit=True) newdict = dict() dict['key-1'] = 'value-1' mydict['newdict'] = newdict
newdict1 = mydict['newdict'] newdict1['key-2'] = 'value-2'
But this new key ('key-2') is not reflected in the database.