following up from another thread
http://groups.google.com/group/web2py/browse_frm/thread/aac58263328d9e8f/96af57e862484949

rows.colnames=["date","id","clicks","impressions"]

for rename the cols

and

row._extra["date"]

for acceding the field


=-


On Thu, Jul 2, 2009 at 8:08 PM, Hans Donner <hans.don...@pobox.com> wrote:

>
> "I have renamed a query columns setting colnames."
> Could you be more precise what you did, eg by showing us some code?
>
> As it looks now you did something that you shouldn't have.
>
> On Thu, Jul 2, 2009 at 1:38 PM, Sebastian E.
> Ovide<sebastian.ov...@gmail.com> wrote:
> > Hi Massimo
> >
> > I have renamed a query columns setting colnames. For some reason the
> _extra
> > operator is returning a string for a field that is date.  In another
> server
> > running the same web2py version _extra is returning datetime for the same
> > field (instead of date)....
> >
> > Version 1.64.1 (2009-06-11 15:48:02)
> >
> > Is it working as expected ?
> >
> >
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to