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

query syntax: single quotes strings #81

Open
k2d222 opened this issue Apr 23, 2024 · 0 comments
Open

query syntax: single quotes strings #81

k2d222 opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@k2d222
Copy link

k2d222 commented Apr 23, 2024

Consider allowing single-quotes (') strings to prevent needing escaping double quotes in the CLI.
As documented in https://docs.dimensions.ai/dsl/language.html#full-text-searching, Python can use combinations of single quotes, raw strings literals and triple-quotes to circumvent this. The CLI has no such functionality AFAIK.

e.g.:
search publications for "\"phrase 1\" AND \"phrase 2\"" becomes search publications for '"phrase 1" AND "phrase 2"'.

@lambdamusic lambdamusic added the enhancement New feature or request label Jun 10, 2024
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

2 participants