db(query).select(left=left,orderby=orderby,*fields)
On Jul 22, 11:58 pm, weheh <richard_gor...@verizon.net> wrote: > OK, I lied. I really want to do this > > db(query).select(*fields,left=left,orderby=orderby) > > where left and orderby are also variables. > > db(query).select(*fields) works OK. > > However, > > db(query).select(*fields,left=left,orderby=orderby) > > gives a syntax error just before the left clause: > > left=left, > ^ > SyntaxError: invalid syntax. > > When I spell out the fields in the select clause, the left clause > doesn't give the syntax error.