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

Some query parameter values are numbers and should not be quoted #65

Open
fbiville opened this issue Nov 30, 2021 · 0 comments
Open

Some query parameter values are numbers and should not be quoted #65

fbiville opened this issue Nov 30, 2021 · 0 comments

Comments

@fbiville
Copy link
Collaborator

See e.g.: neo4j-graph-examples/blank-sandbox#12
A possible solution would be to provide type hint in the parameter definition present in the sandbox own README.adoc attributes.

It currently is defined as:

.Example Query:
[source,cypher,role=query-example,param-name=limit,param-value=10,result-column=count,expected-result=0]
----
MATCH (n)
RETURN COUNT(n) AS count
LIMIT $limit
----

But could become (see param-value-quoted=false - the default would be true):

.Example Query:
[source,cypher,role=query-example,param-name=limit,param-value=10,param-value-quoted=false,result-column=count,expected-result=0]
----
MATCH (n)
RETURN COUNT(n) AS count
LIMIT $limit
----
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

1 participant