neoxygen / neo4j-neoclient

Simple PHP HttpClient for the Neo4j ReST API with Multi DB Support
MIT License
121 stars 138 forks source link

how to use params in sendCypherQuery ? #68

Closed flip111 closed 8 years ago

flip111 commented 8 years ago

I noticed the readme doesn't really talk about params in sendCypherQuery. Is this like preparted statements in SQL?

flip111 commented 8 years ago

This helped

https://github.com/neoxygen/neo4j-neoclient/blob/5526f847928584455f7c4bd20ecd50b0cd657146/tests/Neoxygen/NeoClient/Tests/Functional/UseCaseTest.php#L33-L34

I wonder thought ... is the { } notation something from this library or neo4j server? Because it might be confusing to use this as placeholder.

ikwattro commented 8 years ago

It is from the Neo4j server, it is used in all documentations you will find about parameters.

Also you might read : http://www.sitepoint.com/discover-graph-databases-neo4j-php/

flip111 commented 8 years ago

Can we add a small text to readme.md to explains how prepared statements work?