piskvorky / sqlitedict

Persistent dict, backed by sqlite3 and pickle, multithread-safe.
Apache License 2.0
1.17k stars 131 forks source link

Nested dictionaries not supported #80

Closed sshindesiddesh closed 6 years ago

sshindesiddesh commented 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.

piskvorky commented 6 years ago

See the Beware section in README.