Hey guys,
Just playing around with https://neo4j.com/docs/cypher-manual/current/syntax/parameters/ and there's an example where you use parameters with SKIP and LIMIT.
In Neo4j Browser 4.0.3, Neo4j 4.0 I do the following:
:params {s: 1, l: 1}
Which then stores 's' and 'l' as follows:
{
"s": 1.0,
"l": 1.0
}
Following along I try to follow along the docs with:
MATCH (n)
RETURN n
SKIP $s
LIMIT $l
And I get the error:
LIMIT: Invalid input. '2.0' is not a valid value. Must be a non-negative integer.
If I do:
:param s => 1
:param l => 1
Then the values get set to 1 vs 1.0 when passed in using :params ... seems a bit inconsistent?