Hi Amirshk

Good opportunity to learn by trying some experimentation at the commandline.

For example,  open up a shell:  

python web2py.py -S yourapp -M
>>> query = (db.credit_transactions_tags.transaction_ref == 99999)
>>> rows = db(query).select()
>>> UL([LI(r.id) for r in rows]).xml()

Note:  
1. Change 99999 to whatever you would like it to be!
2. It is worth learning about "list comprehensions" for nesting the UL and 
LI helpers
3. The .xml() is just to print the result

-- 



Reply via email to