Open cldellow opened 1 year ago
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.
schema-definitions
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.
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.