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

Vercel app JSON query returning empty record. #13

Closed
abalter opened this issue Aug 14, 2021 · 1 comment
Closed

Vercel app JSON query returning empty record. #13

abalter opened this issue Aug 14, 2021 · 1 comment

Comments

@abalter
Copy link

abalter commented Aug 14, 2021

This may not be the correct place to post this.

I navigated here:

https://thesession.vercel.app/thesession?sql=select+*+from+tunes+where+name+like+%22%25wise+maid%25%22%0D%0A

The query in the box shows

select * from tunes where name like "%wise maid%"

and the page displays results. If I click on the "This data as JSON" button, I get an empty record. This is the generated HTML REST query:

https://thesession.vercel.app/thesession.csv?sql=select%20*%20from%20tunes%20where%20name%20like%20%22%wise%20maid%%22&_size=max

I created a little app for myself a couple of months ago and it was working then, but stopped sometime in the last month.

Note: CSV queries also seem to come back empty.

https://thesession.vercel.app/thesession?sql=select+*+from+tunes+where+name+like+%22%25wise+maid%25%22

@adactio
Copy link
Owner

adactio commented Aug 17, 2021

Hmm ...sorry about that! Sounds like it might be an issue with the datasette tool I'm using to generate that view of the data.

I've filed an issue over here:
https://github.com/simonw/datasette/issues/1437

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

2 participants