How about this?
row[r][db.table.fields[i]]
On Saturday, 28 June 2014 04:36:13 UTC-5, Pham Quang Dung wrote:
>
> I wonder if there's a way we can use [1] like in row[r][1] instead of
> row[r].fieldname? sometimes I must use this form of select which doesnot
> allow aliases db(x).select('afield as f')
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.