[Zope] ZSQL method advanced tab

Paul Winkler pw_lists at slinkp.com
Fri May 7 17:18:09 EDT 2004


On Fri, May 07, 2004 at 01:55:33PM -0700, patrick sullivan wrote:
> Was futzing with the limit field in the advanced tab of a zsql method
> and noticed something i had never seen before.  It was to have a zsql
> method return a python class instead of a result set.  It said i could
> put a class into the $ZOPEHOME/Extensions dir and the method would
> return that object.
> 
> I don't have any memory of it being discussed here.  Has anyone used
> this with good/bad results?

It's documented in the Zope Book:
http://www.zope.org/Documentation/Books/ZopeBook/current/RelationalDatabases.stx
 --> section  "Binding Classes to Result Objects" 

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope mailing list