[Zope] ZMySQLDA Question
tonylabarbara at aol.com
tonylabarbara at aol.com
Thu Sep 27 16:09:31 EDT 2007
Thanks!
-----Original Message-----
From: Andreas Jung <lists at zopyx.com>
To: tonylabarbara at aol.com; zope at zope.org
Sent: Thu, 27 Sep 2007 3:43 pm
Subject: Re: [Zope] ZMySQLDA Question
?
--On 27. September 2007 15:37:33 -0400 tonylabarbara at aol.com wrote:?
?
> Hi;?
> I want to do something like this in my Page Template:?
> mysql> select * from products order by name, newRow;?
>?
> Now, I know I can do this:?
>?
> tal:define="items python:sequence.sort(items, (('name', 'cmp', 'asc'),))"?
>?
> but that only orders by name, not by name *and* newRow. Any ideas??
>?
?
YES! You read the fine documentation:?
?
<http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvZPT.stx>?
?
-aj?
________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070927/1d7b3d1f/attachment.htm
More information about the Zope
mailing list