Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
neo4j仅返回数据_Neo4j_Cypher - Fatal编程技术网

neo4j仅返回数据

neo4j仅返回数据,neo4j,cypher,Neo4j,Cypher,当我运行密码查询时,将返回以下结果。我试图只返回数据,而不返回所有其他内容,如输出关系、self和遍历 "labels": "http://localhost:7474/db/data/node/61/labels", "outgoing_relationships": "http://localhost:7474/db/data/node/61/relationships/out", "traverse": "http://localhost:7474/db/data/

当我运行密码查询时,将返回以下结果。我试图只返回数据,而不返回所有其他内容,如输出关系、self和遍历

    "labels": "http://localhost:7474/db/data/node/61/labels",
    "outgoing_relationships": "http://localhost:7474/db/data/node/61/relationships/out",
    "traverse": "http://localhost:7474/db/data/node/61/traverse/{returnType}",
    "all_typed_relationships": "http://localhost:7474/db/data/node/61/relationships/all/{-list|&|types}",
    "property": "http://localhost:7474/db/data/node/61/properties/{key}",
    "self": "http://localhost:7474/db/data/node/61",
    "properties": "http://localhost:7474/db/data/node/61/properties",
    "outgoing_typed_relationships": "http://localhost:7474/db/data/node/61/relationships/out/{-list|&|types}",
    "incoming_relationships": "http://localhost:7474/db/data/node/61/relationships/in",
    "extensions": {},
    "create_relationship": "http://localhost:7474/db/data/node/61/relationships",
    "paged_traverse": "http://localhost:7474/db/data/node/61/paged/traverse/{returnType}{?pageSize,leaseTime}",
    "all_relationships": "http://localhost:7474/db/data/node/61/relationships/all",
    "incoming_typed_relationships": "http://localhost:7474/db/data/node/61/relationships/in/{-list|&|types}"
    "data": {},

如何仅返回数据?

对于Neo4j 2.0,您将使用事务性rest端点:


在1.9中,您可以只返回节点或关系的单个属性,然后只返回原始数据。

是否使用REST接口执行密码查询?