Closed pierredewilde closed 12 years ago
The Cypher\Query class in Neo4jPHP handles this already. It should be fairly easy to make the Gremlin\Query class do the same.
In master.
This will get rolled into the pre-packaged PHAR when 0.0.6-beta is released. Until then, you can roll your own PHAR or use the library directly using the "From Source" instructions: http://github.com/jadell/neo4jphp/wiki/Getting-started
Both Cypher and Gremlin plugins support parameterized queries by passing a JSON map with the script. This is much more efficient. See http://neo4j.org/forums/#nabble-td3569774|a3574235