sorry, the code I have on this program is this: (which is what does not 
work)
var relType: string = "EXERCISES"; 
var props : any = { "props" : { "position" : "Developer", "name" : 
"Michael", "awesome" : "true" }};
var statement = util.format("START a=node({fromNodeId}), b=node({toNodeId}) 
CREATE (a)-[r:%s {props}]->(b)",relType, props);

Il giorno giovedì 30 gennaio 2014 14:54:59 UTC+1, Alessandro Severa ha 
scritto:
>
> Hi,
> the problem I have is the following. 
> using nodejs (javascript) I'm trying to create a relationship between two 
> nodes of the database Neo4j and this report I'm going to have to create 
> assign the properties. 
> This property is written in a variable "props", I am writing under the 
> lines of code involved: 
>
>
> var relType: string = "EXERCISES"; 
> var props: any = {"position": "Developer", "name": "Michael", "awesome": 
> "true", "children": "3"}; 
> var statement = util.format ("START a = node (fromNodeId {}), b = node ({} 
> toNodeId) CREATE (a) - [r:% s] -> (b) Set of props = {r}", relType, props); 
>
> Can you please tell me where that is wrong and how to run the last query? 
> I await response. 
> Thank you.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to