According to the documentation on querying nodes for the neography ruby gem:
Neography::Node.find(index, query) # advanced query of the node index with the given query
But I am unclear what the format and examples of the query is above.
What I want to do is provide a search term that then queries all nodes that have, as one of the properties, userID = xxxx.
I am using a hosted neo4j database on grapheneDB.
For example I want to find the nodes that are relative to a given node:
- Relationship = friends
- Date Created = yesterday
- Limit = 1
Since
neographyis a wrapper around the Neo4j REST API, you can refer to the documentation there. See: 17.10. Find node by query.