Summary

In this final chapter, we learned a practical approach to migrate a database from SQL to Neo4j.

We started migrating the database schema. We saw that the migration will be straightforward if we think more in terms of entities and relations (E-R)than in terms of tables and columns. In other words, if we come back to the relational model, the entities will become nodes, while the relations will become graph relationships. The attributes will become properties.

Then, we migrated the data. We started migrating entities with their attributes, and then we migrated the relations. During this task, we learned how to migrate CRUD queries from SQL to Cypher.

Finally, we migrated some complex queries used in a real-world application. We learned how to migrate searching queries (in place of LIKE we have regular expressions in Cypher) and grouping queries.

This was the last chapter. Now, you should be able to use Cypher with any real-world application you want to develop, from design to implementation to tuning performances.

When you need a short and quick reference to all the Cypher clauses and patterns you learned in this book, I suggest you read the Neo4j Cypher refcard at (http://docs.neo4j.org/refcard/2.0/). In additions to this, the Appendix contains a detailed list of all the operators and almost all functions supported by Cypher.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.47.166