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

Show column types in headers #157

Closed
arina-ielchiieva opened this issue Oct 2, 2018 · 4 comments
Closed

Show column types in headers #157

arina-ielchiieva opened this issue Oct 2, 2018 · 4 comments

Comments

@arina-ielchiieva
Copy link
Collaborator

SqlLine has ability to show headers which include column names. It could be useful to add functionality to show column types which can be turned on / off. Default off.

@julianhyde
Copy link
Owner

Can you give an example of how the output would look?

@julianhyde julianhyde changed the title Add functionality to show column types in headers Show column types in headers Oct 2, 2018
@arina-ielchiieva
Copy link
Collaborator Author

For example, for table output format type can be added right underneath the column name:

+---------+
|      C1      |
| INTEGER |
+---------+
| 1             |
+---------+

Formatting would be better, github just shows this way.

@julianhyde
Copy link
Owner

OK, sounds good. There are properties showheader, showwarnings, showelapsedttime already, so maybe this could be showtypes.

@snuyanzin
Copy link
Collaborator

merged as 7439f68

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

Successfully merging a pull request may close this issue.

3 participants