[Zope] ZSQL Method Size?

Michel Pelletier michel@digicool.com
Tue, 21 Mar 2000 06:52:48 -0800


"J. Atwood" wrote:
> 
> I have been using <dtml-in sqlMethod size=4 query=start_query> and I find
> that 80% of the time it will return 4 results but sometimes, for no apparent
> reason it will return 5 or 6. This is happening with a few of my ZSQL
> Methods?
> 
> Bug or am I going crazy?

Neither.  The in tag by default does not like orphans (result batches
smaller than 'size').  Set 'orphan=0' and sleep in peace that your
sanity is intact (and that the in tag is bug free).

-Michel