4 Jun
2001
4 Jun
'01
3:25 p.m.
On Mon, 4 Jun 2001, After Dark wrote:
I was thinking in a way to insert my files through FTP with the meta_type that I want. Then I tought: Why not change it after insert it??
There is no way. ZODB stores pickles of REAL classess. So to change the type of object one needs: 1. Get data from current object. 2. Create another object of different class. 3. Put data into the new object (and store it back to ZODB). Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.