shelve like interface to MySQLdb
sysfrog at gmail.com
Thu Sep 2 23:32:02 CEST 2004
> I've done some googling and came up empty. Is there a simple
> way to create a shelve like interface to a MySQL table? The
> keys would be a direct mapping to the primary key in the table.
The only possibility to do this without object-specific
(de-)serializers would be to safe the pickled state of the object in
the database and this is probably not what you want.
I would suggest using an object-relational mapper like SQLObject
(http://sqlobject.org/) for this task.
More information about the Python-list