7 May
2004
7 May
'04
9:18 p.m.
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... --> section "Binding Classes to Result Objects" -- Paul Winkler http://www.slinkp.com