rows.colnames are the colnames rows.response is the raw response from the db driver (no colnames)
On May 8, 8:40 am, carlo <[email protected]> wrote: > sorry Massimo to bother again, but does rows.response return the > column names in the tuples? > I was sure about this from the past but in the latest version of > web2py I just get the raw values present in the table without the col > names. > > Canyou confirm that? > > carlo > > On 7 Mag, 15:44, mdipierro <[email protected]> wrote: > > > Not really. > > > On May 7, 8:38 am, carlo <[email protected]> wrote: > > > > I know it is a well known theme but it is not fully present in the > > > book and I would like to summerize. > > > > I need to access column names to build some custom tables and I do not > > > want the name in the usual way table.colname, just the col name. > > > > I can: > > > - use colnames and strip the table name with string manipulation > > > or > > > - userows.responseto access a list of tuples(?) where col names are > > > stored without the table prefix > > > > Are there any other ways I missed? > > > > carlo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

