Skip to content

query syntax: single quotes strings #81

Open
@k2d222

Description

@k2d222

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"'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions