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

On FTS exception rerun the query with quoting #14

Closed
simonw opened this issue Sep 4, 2020 · 0 comments
Closed

On FTS exception rerun the query with quoting #14

simonw opened this issue Sep 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Collaborator

simonw commented Sep 4, 2020

Searching for eg #dogfest currently throws an FTS exception - but I want to support advanced FTS query tricks as seen in #13.

https://dogsheep.simonwillison.net/-/beta?q=%23dogfest

fts5: syntax error near "#"

Idea: catch that error and re-run the query with FTS escaping applied!

@simonw simonw added the enhancement New feature or request label Sep 4, 2020
@simonw simonw changed the title Idea: on FTS exception rerun the query with quoting FTS exception rerun the query with quoting Sep 5, 2020
@simonw simonw changed the title FTS exception rerun the query with quoting On FTS exception rerun the query with quoting Sep 5, 2020
@simonw simonw closed this as completed in 197ef3f Sep 5, 2020
simonw added a commit that referenced this issue Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant