Skip to content

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

@fbiville

Description

@fbiville

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
----

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions