sunjith / loopback-connector-neo4j-graph

MIT License
7 stars 2 forks source link

Cannot build relations using this connector #5

Closed tcalhounjr closed 6 years ago

tcalhounjr commented 6 years ago

Model objects would work just like in MongoDB. However, relations will not be mapped to graph vertices as of now. Use cypher for creating vertices and graph queries.

Like, this is a problem especially if you're using React.js. How can I build relationships between my models?

sunjith commented 6 years ago

@tcalhounjr You cannot define relationships in models, you'll have to create them manually using Cypher queries in your code. If you would like to and have the bandwidth to implement the mapping between model relations to Neo4j graph vertices in the driver, feel free to send a pull request.