html sql client

gert gert.cuykens at gmail.com
Fri Mar 2 02:33:08 EST 2007


On Mar 2, 7:33 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> In <1172813239.754095.231... at p10g2000cwp.googlegroups.com>, gert wrote:
> > I was thinking about making a column module that names the columns, i
> > was hoping there would be some sort of api feature that already exist
> > because parsing sql statemants to figure out which column is refers to
> > what is allot of work.
>
> Are you searching for the `description` attribute of cursors?  Section
> `Cursor Objects`:
>
>    http://www.python.org/dev/peps/pep-0249/


i think so :) if cursor.description would give me for example the word
databases when i do a query like "show databases" or gives me all the
column names when i do "select * from mytable"




More information about the Python-list mailing list