NADA!
var query_PATHS = "match n where n.name =~'.*{myParam}.*' return n";
var cypherRequest = {
statements : [{
statement: query_PATHS,
parameters: 'myParam',
resultDataContents: ["row", "graph"]
}]
}
$.ajax(
{
url : "http://localhost:7474/db/data/cypher",
type: "POST",
data : cypherRequest,
dataType: "json",
success: function(obj, textStatus, jqXHR)
{
.......
--- START ERROR ---
{
"message" : "You have to provide the 'query' parameter.",
"exception" : "BadInputException",
"fullname" : "org.neo4j.server.rest.repr.BadInputException",
"stacktrace" : [
"org.neo4j.server.rest.web.CypherService.cypher(CypherService.java:81)",
"java.lang.reflect.Method.invoke(Method.java:606)",
"org.neo4j.server.rest.transactional.TransactionalRequestDispatcher.dispatch(TransactionalRequestDispatcher.java:139)",
"java.lang.Thread.run(Thread.java:744)" ]
}
---- END ERROR ---
I tried changing "statement" to "query" -- no difference...
Dave
--
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/d/optout.