[Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that the decode could be extended to be able to work with Results and Records

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Jens Vagelpohl
On Jan 10, 2008, at 11:41 , Charlie Clark wrote: A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that the decode could be

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Andreas Jung
--On 10. Januar 2008 11:41:49 +0100 Charlie Clark [EMAIL PROTECTED] wrote: A happy 2008 to everyone! Currently it's not really possible to use ZSQL with CMF because CMFDefault.utils.decode does not know how to handle Shared.DC.ZRDB.Results.Results or Record.Record instances I think that

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
Am 10.01.2008 um 11:54 schrieb Jens Vagelpohl: It may be helpful if you describe what you were trying to do and what failure you're seeing so everyone has a little context for this request, which AFAIK has never come up anywhere. :oops: Sorry, I thought this was a known issue. If I have

Re: [Zope-CMF] Decode for Record objects

2008-01-10 Thread Charlie Clark
Am 10.01.2008 um 11:59 schrieb Andreas Jung: Consider working with SQLAlchemy. SA works nicely with unicode e.g. when you're using a Postgres DB with Unicode as internal DB encoding. Thanks for the tip but that's not really a solution to the problem. I normally use mxODBC and, although