logilab-database #75422 Implement a list_columns() method on db helpers [open]
The signature could be: def list_columns(self, tablename): return [list_of_colum_names] | |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
closed by | <not specified> |
Comments
-
2011/09/12 10:00, written by adimascio
add commentUsing select * from %(tablename)s LIMIT 1 and cursor.description might be enough.