Why are you running such an old version?
Just upgrade to the most recent one.

Your query is broken in many places.

I think it's best if you take the cypher online training again to
familiarize yourself with the syntax or look at the cypher refcard:
https://neo4j.com/docs/cypher-refcard/current
Also it seems your generating queries with variable names changing all the
time. That's not recommended, b/c then the cypher compiler cache cannot
work.

Parameter handling and query execution is separate in Neo4j browser.
You have to set parameters first.
And only after just run the query.

:help params

:help cypher

Join our new Community Site & Forum <https://community.neo4j.com>


On Thu, Nov 15, 2018 at 3:51 AM Paolo Di Pietro <paolodipietr...@gmail.com>
wrote:

>
>
> On Tuesday, November 13, 2018 at 9:03:26 AM UTC+1, Paolo Di Pietro wrote:
>>
>> Hi all,
>>
>> I'm running the Neo4j Community 3.0.12 on docker.
>>
>> First of all: there still is the old panel using to running queries
>> instead of using the browser (speaking around v2.2)????
>>
>> Second: I have some troubles running the following query:
>>
>>
>>     :param nome: "Di Pietro Chiara"       /* as suggested by Michael
>> Hunger in an answer on a post
>>
>>     merge (_cal_445:`calendario` { :`X-VR-CALNAME` = '$nome'
>> })-[:`appartiene a`]->(_per_445:`persona`)
>>     WHERE $nome = concat(_per_445.cognome," ",_per_445.nome)
>>             OR $nome = concat(_per_445.nome," ",_per_445.cognome)
>>     return _cal_445, _per_445
>>
>> well, I made some changes and some attempts to run the query, with no
>> result.
>>
>>     {
>>        "nome" : 'Di Pietro Chiara'
>>     }
>>
>>     Merge (_cal_445:`calendario` { :`X-VR-CALNAME` = '$nome'
>> })-[:`appartiene a`]->(_per_445:`persona`)
>>         WHERE $nome = concat(_per_445.cognome," ",_per_445.nome)
>>             OR $nome = concat(_per_445.nome," ",_per_445.cognome)
>>     return _cal_445, _per_445
>>
>> and in this case the error is as follow:
>>
>>     Invalid input '{': expected <init> (line 1, column 1 (offset: 0))
>>     "{ "nome" : 'Di Pietro Chiara' }    "
>>      ^
>>
>> Has someone an idea?
>>
>> BTW, the :help param|params returns an error
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to neo4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to