[Zope-DB] Typical size of result sets

Chris Withers chris at simplistix.co.uk
Wed Jan 12 08:03:06 EST 2005


M.-A. Lemburg wrote:
>> A "max_rows" value of "0" (which is senseless taken verbatim)
>> is intended to get the complete set.
> 
> What a poor design... instead of using 1000 as default, Z SQL
> Methods should have used "no limit" as default.

I'd stick in a bug in the collector. It should be fairly trivial to add 
some documentation to the form explaining what's going on.

What about changing the default to 0 while we're at it?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-DB mailing list