[Zope] Mysql get/set blob

David Siedband david at calteg.org
Sun Nov 21 17:36:36 EST 2004


I was thinking eval() combined with some sort of checking to make sure 
that the string being evaluated is in fact a valid dictionary...  Seems 
like pickling is a more secure way to store dictionaries.
--
David


On Nov 20, 2004, at 11:59 PM, Andreas Jung wrote:

> How do you want to reverse the conversion from dict to string?
>
> -aj
>
> --On Samstag, 20. November 2004 22:53 Uhr -0800 David Siedband 
> <david at calteg.org> wrote:
>
>> Is there a advantage to pickling a dictionary and storing it in a blob
>> field rather than converting it to a string and storing it in a text
>> field?



More information about the Zope mailing list