Auch! We have a bug. Will look into it.

Massimo

On Dec 11, 9:30 am, DenesL <[EMAIL PROTECTED]> wrote:
> > for row in rows: print row.a.name,row.b.name
>
> Yes, like that, or maybe even row['a.name'],row['b.name']
> but do they work for you?.
>
> On my end any attempt to access a row as in rows[0] results in:
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
>   File "D:\web2py\trunk\gluon\sql.py", line 1256, in __getitem__
>     table=self._db[tablename]
>   File "D:\web2py\trunk\gluon\sql.py", line 300, in __getitem__
>     def __getitem__(self, key): return dict.__getitem__(self,str(key))
> KeyError: 'a'
>
> rows.response and rows.colnames are ok.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to