records = dbset.select(*whichAttributes,orderby=t.f4|t.f5) * unpacks a list ** unpacks a dict
On Dec 3, 5:16 pm, Lorin Rivers <lriv...@mosasaur.com> wrote: > I have a list of Field variables > whichAttributes = [t.f1, t.f2, t.f3] > > and I want to use them in my .select, like so: > records = dbset.select(whichAttributes,orderby=t.f4|t.f5) > > How do I unroll that list into the select? > > -- > Lorin Rivers > Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> > <mailto:lriv...@mosasaur.com> > 512/203.3198 (m)