Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Read Nodes and Relationships in Neo4J with Cypher

    Matt RossMatt Ross
    neo4jNeo4j

    Once there is data in Neo4J, we need to be able to access it. We will cover the structure of a cypher query to return parts of our graph.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss

    Transcript

    Transcript

    Instructor: Querying data from Neo4j is done with the MATCH clause. The format is similar to CREATE, except that the parameters we pass after the label are treated as query parameters.

    We can also use those parameters to represent more complex conditionals with the WHERE, AND, and OR clauses. If we are more concerned with querying according to relationships than properties on nodes, we can do so by representing our MATCH with multiple relationship conditions.

    We can also forgo specifying any conditions and return everything.