Hello!

This is probably Python question, but maybe you can help:
I need to prepare the list of fields to be selected from DB
programmatically:

full_qualifiers = []   #list of SQLTABLE fields
time_based_details = db().select(*full_qualifiers,
_orderby=db.time_based.ca_date)

But Python does not allow me to use both * and named parameter in one
function call. This works:

time_based_details = db().select(*full_qualifiers)

but I need to sort data according to date.

Thank you in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to