On Mon, Jul 6, 2009 at 8:59 AM, Olemis Lang<[email protected]> wrote:
> Hello everybody !
>
> - How to get (programmatically ;) the results included in a report defined
>  using a query URL (i.e. report's SQL starts with `query:?` or `?`) ?
> - Consider the case when I have executed a TracReport defined using plain SQL.
>  Let's say I have opened a cursor so as to retrieve the data (SQLite backend
>  ;). At this point I wanna know the name and type of each column in the
>  result set so I use the cursor's `.description` attribute. In this case I
>  get back tuples like `('version', None, None, None, None, None, None)` which
>  say nothing about the type of values in any column. OTOH DB API 2.0 states
>  that «The first two items (name and type_code) are mandatory». So what's
>  happenning ?
>

BTW, I forgot to mention I need both of these for ReportRPC implementation.

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to