3 Graphs in the database

This chapter covers

  • An introduction to graph databases with a focus on Neo4j
  • The property graph data model
  • Using the Cypher query language to create and query data in Neo4j
  • Using client drivers for Neo4j, specifically the JavaScript Node.js driver

Fundamentally, a graph database is a software tool that allows the user to model, store, and query data as a graph. Working with a graph at the database level is often more intuitive for modeling complex connected data and can be more performant when working with complex queries that require traversing many connected entities.

In this chapter, we begin the process of creating a property graph data model using the business requirements from the previous chapter and compare ...

Get Full Stack GraphQL Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.