Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of SQLObjectQuickRef


Ignore:
Timestamp:
06/02/06 18:05:33 (13 years ago)
Author:
italomaia@…
Comment:

reverse sorted list syntax updated

Legend:

Unmodified
Added
Removed
Modified
  • SQLObjectQuickRef

    v2 v3  
    5353 
    5454{{{ 
    55 temp = list(A.select( A.q.members==10, orderBy=A.q.created ))[::-1] 
     55temp = A.select( A.q.members==10, orderBy= -A.q.created )) 
    5656}}} 
    5757 
     
    6060 
    6161{{{ 
    62 temp = list(A.select( A.q.members==10, orderBy=A.q.created )[:10])[::-1] 
     62temp = A.select( A.q.members==10, orderBy= -A.q.created )[:10] 
    6363}}} 
    6464