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

be able to see table/view definition #33

Open
cldellow opened this issue Jan 28, 2023 · 0 comments
Open

be able to see table/view definition #33

cldellow opened this issue Jan 28, 2023 · 0 comments

Comments

@cldellow
Copy link
Owner

cldellow commented Jan 28, 2023

I hid this in #22

...and now I regret it, as it's useful to see a view definition. eg on https://dux.fly.dev/cooking/questions

If the default HTML had an ID like schema-definitions, we could expose it via a similar trick as the advanced export, eg make it so https://dux.fly.dev/cooking/questions#schema-definitions showed the schema.

That would require a change in Datasette's default template.

Alternative idea: if we do #54, we'll expose a way to edit views. You'll be able to see the schema there.

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

No branches or pull requests

1 participant