[Zope-dev] ZSQL method and LIMIT clause

Thanh Hải, Hà thanhhai.ha at gmail.com
Thu Nov 3 04:39:55 EST 2005


Thanks Stefan! Sticking max_rows:0 into the lead-in comment does the magic.


 2005/11/3, Stefan H. Holek <stefan at epy.co.at>:
>
> *Everything* you can do in the ZMI can be done from code. The ZMI is
> not a magic entity, it uses the same APIs as everybody else. With
> FSZSQLMethods you can stick max_rows: 0 into the lead-in comment, BTW.
>
> Stefan
>
>
> On 3. Nov 2005, at 03:37, Thanh Hải, Hà wrote:
>
> > My problem is I don't know to prevent Zope from adding "LIMIT
> > 1000" to the
> > end of each of my ZSQL method (*.zsql). I am developing a
> > filesystem-based
> > product so I can not disable it by setting "Maximum Rows to
> > Retrieve" to
> > zero in the ZMI interface.
>
> --
> Anything that happens, happens. --Douglas Adams
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20051103/f4b3a446/attachment.htm


More information about the Zope-Dev mailing list