Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$query="START n=node:node_auto_index(name:"Ashish") CREATE UNIQUE n-[n_f]->(r{con:"<img src="anypic.jpg""})";
我如何添加一个html;neo4j 节点中的代码。这可能吗?
你有嵌套的双引号。您需要根据您的语言转义它们。php?
在 Cypher 中,您可以使用\".
\"
http://console.neo4j.org/r/db6url
使用 Cypher,您可以做到
CREATE (Test {content:'<!DOCTYPE html><html><head><title>Page Title</title></head><body><h1>Test Page</h1><img src="anypic.jpg"></body></html>'})
实时控制台链接:http ://console.neo4j.org/r/nki3cf