[Zope-DB] Dynamically setting ZSQL-Method parameters

Charlie Clark charlie at begeistert.org
Thu Oct 9 10:43:42 EDT 2003

Dear list,

I have a fairly complex SQL-query which I use in several places in a 
website. I've set the result set to be limited to 100 but I'd like to be 
able to remove that limit for certain special reports. Is it possible to 
pass the limit to a ZSQL-method as a parameter and thus override the 
standard? If not what is the best way around to avoid query duplication? I 
haven't so far found anything about this in the documentation but maybe I'm 
looking in the wrong place.



More information about the Zope-DB mailing list