Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display/surface column information (pk, type etc) #82

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments
Open

Display/surface column information (pk, type etc) #82

GoogleCodeExporter opened this issue Apr 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I think it would be useful to display, or make available somehow more
information on columns. It looks like you had this on your radar (looking
at the __gproperties__ on objects.Column). How did you think it is best to
surface the pk, type, default value and nullable information?

One option would be to have a 'ColumnMeta' object and have it has a child
to Column, and just expand it. I did a quick hack to show the data in a
tooltip (attached). Part of thinks the column type should be very obvious -
maybe by icon or as a string in brackets next to the column name?

What are your thoughts on this? :)

Original issue reported on code.google.com by [email protected] on 17 Dec 2009 at 3:16

Attachments:

@GoogleCodeExporter
Copy link
Author

Yepp, you're right. Detailed information about columns (and much more like 
views) are 
intentionally left out for now. But I like the first version (not the tooltip 
one). 
Would you mind to share your patch for it :)

BTW, I thought of having some kind of detail pages opening in the main notebook 
(where the SQL editor lives). But that's a lot of work to do since it should be 
possible to display various kinds of objects (tables with colunms, constraints, 
... or 
views with their definitions and so on). The hardest part is, once such objects 
are 
displayed you probably want to change them, e.g. renaming a column, adding a 
comment 
on a table or modify a view's definition. But something like that is definitely 
on 
the todo list :)

Original comment by albrecht.andi on 23 Dec 2009 at 9:48

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Hi,

Sorry for the silence - I took a bit of a break over Christmas and have recently
returned from holiday. I'll put a bit more work into a patch and get it over 
shortly.

Thanks :)

Original comment by [email protected] on 2 Feb 2010 at 11:52

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

That's great!! Take your time :)

Original comment by albrecht.andi on 3 Feb 2010 at 7:00

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant