Open simonw opened 3 years ago
That's because filtered_table_rows_count
is not available for arbitrary queries: https://github.com/simonw/datasette-json-preview/blob/08dfb0d4dd3a0773214d183f27ca0a768581c7ff/datasette_json_preview/__init__.py#L18-L25
https://latest-with-plugins.datasette.io/fixtures.json-preview?sql=select+%27%23+Hello+there%0D%0A%0D%0A*+This+is+a+list%0D%0A*+of+items%0D%0A%0D%0A%5BAnd+a+link%5D(https%3A%2F%2Fgithub.com%2Fsimonw%2Fdatasette-render-markdown).%27%0D%0Aas+demo_markdown