Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send queries with parameters #32

Closed
pierredewilde opened this issue Dec 10, 2011 · 2 comments
Closed

Send queries with parameters #32

pierredewilde opened this issue Dec 10, 2011 · 2 comments

Comments

@pierredewilde
Copy link

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

@jadell
Copy link
Owner

jadell commented Dec 10, 2011

The Cypher\Query class in Neo4jPHP handles this already. It should be fairly easy to make the Gremlin\Query class do the same.

jadell added a commit that referenced this issue Dec 10, 2011
Alos, updated the Gremlin example script to demonstrate this.
@jadell
Copy link
Owner

jadell commented Dec 10, 2011

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

@jadell jadell closed this as completed Dec 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants