simonw / datasette-lite

Datasette running in your browser using WebAssembly and Pyodide
https://lite.datasette.io
Apache License 2.0
331 stars 28 forks source link

Incompatible with existing datasette-lite db features? #60

Open ross-spencer opened 1 year ago

ross-spencer commented 1 year ago

If you have an existing datasette database that you want to serve via datasette-lite the saved queries are treated as just another table. My use-case is that having configured a datasette db that has queries I'd like others to see and use, I'd like to host that in the browser. Is there a way for datasette-lite to treat saved_queries as the special table it is in datasette?

ross-spencer commented 1 year ago

NB. ?install=datasette-query-links is a decent workaround for anyone else looking at this.