-
Notifications
You must be signed in to change notification settings - Fork 312
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
Feature: Hide the View Definition script in HTML output #310
Comments
Could you write a more detailed explanation as to why one would want to hide the source of the data in a view. I can see a scenario where there are multiple tables that contains a specific column name, so when looking at a view without definition I'm unable to know which table is the source of data. |
There is, what I think is a really simple hack, way to achieve this. You could override the sql to fetch view Definition and make sure it returns zero rows or an empty definition. If you let me know which database Type I could try to provide you an example. |
I'm providing views on tables in a different schema and would like to abstract the details of how the views are created from what they are providing to the user of the views, thanks I'll look into that approach |
As an exampleI think this should work for mysql but the principal applies to all database types. New file
And finally use the database type when running |
@MizdaCollinz You also have the option to exclude view entirely with -noviews @rafalkasa This shouldn't be hard to implement, should we? |
Same solution as in #410 can be used, by changing the template. |
(Feature Request)
It would be useful to be able to disable the view definition SQL script from being displayed in the HTML output as I would prefer if this underlying information was not visible when I provided documentation on my views.
Alternatively if there is an easy way to achieve this I'm open to suggestions
The text was updated successfully, but these errors were encountered: