is it possible to build database queries from smaller pieces I had something in mind like
filter = [] for key,value in session.filter.iteritems(): if key.startswith('os') and value: os = key.split()[1] filter.append( (db.software.os == os) ) ... return UL([LI(s.name) for s in db(db.software.id>0)&filter.select()]) -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.