I have a python based product where I am creating a few zsql methods at the time of instantiation. I recently realized that there is the default 1000 row maximum limit on query rows. While this can be changed through the management interface, I am trying to figure out how to do this when I create the SQL method in the python code. Is this possible?
Of course. You can do anything the ZMI does. If you look at how it's done there, you will eventually come to the method manage_advanced. You can see it online:
I suppose you could also just set the property 'max_rows_' if that's all you're interested in.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce