I tried the following:
var sql ='{"statements":[{"statement":"MATCH (a)-[:`srcChildOf`]->(b) RETURN a,b", "resultDataContents":["graph"]}]}';
d3.xhr('http://localhost:7474/db/data/transaction/commit',sql,function(error,data){})
can someone help me.
Thank you regards from Vienna.
statements: [{
statement: "MATCH (a)-[:`srcChildOf`]->(b) RETURN a,b",
resultDataContents: ["graph"]
}]
}),
function(error, data){
// do the thing
}
))