Menu

Commit [r3137]  Maximize  Restore  History

Follow-up to r3109: there was actually more than one user of `cursor.description`, so I decided to factor out the changes.

There's now a `trac.db.get_column_names` utility, which is simpler to use than `cursor.description` (it contains only the names) and is guaranteed to deliver `unicode` objects.

cboos 2006-04-12

changed /trunk/trac/db/api.py
changed /trunk/trac/ticket/query.py
changed /trunk/trac/ticket/report.py
/trunk/trac/db/api.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/query.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/report.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB