我为此使用了以下命令行:
:POST /db/data/transaction/commit {"statements":[{"statement":"match n return n"}]}
当我将此查询设置为 PHP 变量时,出现以下错误:
Fatal error: Uncaught exception 'Neoxygen\NeoClient\Exception\Neo4jException' with message 'Neo4j Exception with code "Neo.ClientError.Statement.InvalidSyntax" and message "Invalid input ':' in C:\wamp\www\PhpProjectNeo4j1\vendor\neoxygen\neoclient\src\Extension\AbstractExtension.php on line 88
您能否向我解释一下如何在 PHP 中添加此命令?