[Zope] Grouping ZSQL results
Tim Wilson
wilson@visi.com
Fri, 20 Sep 2002 18:16:23 -0500
On Fri, Sep 20, 2002 at 04:06:53PM -0700, Andy McKay wrote:
> > Would you consider running the query seven times, one for each day?
>
> What if you need the results over next 30 days or year?
>
> If the query is returning the right thing, massaging it in a Python script
> might be your easiest solution.
Agreed. A quick trip to http://zopelabs.com/ reveals a couple recipes
that show calling ZSQL methods directly from PythonScripts. I think
that's the way to go.
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.com
W. St. Paul, MN | | http://slashdot.org
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com