jadell / neo4jphp

PHP wrapper of the Neo4j REST interface
Other
533 stars 137 forks source link

Existing Client #81

Closed wallgeek closed 11 years ago

wallgeek commented 11 years ago

Please tell me the way to access the existing client as I have already created and saved the nodes.

babaganoush commented 11 years ago

please see: https://github.com/jadell/neo4jphp/wiki/Nodes-and-Relationships

wallgeek commented 11 years ago

But the document is only showing the client made at the beginning in the same php and accessing the nodes inside it. But I have made the new Client, created and saved the nodes and set the property. Now later if I wanted the user input of a client which takes the input and check if client exist and if it exist then shows its nodes and various other parameters.as a output to the user. Now the problem is that how to grab the existing client for the retrieval of the nodes and its other properties.

jadell commented 11 years ago

If this is in a new request, you can create a new client pointed at the same host. Then do your index/id lookup or cypher query as normal.