- [Instructor] The final CRUD operation…that we'll complete is the read task.…We'll need to read each line from the database…and print it out to the console.…So, let's first define a query…to read each line from the database.…This is going to be a match statement.…We need to specify the graph pattern…that we want to match on.…In this case, it's just a line node.…We don't need to specify a predicate or a where clause,…because we need to match on every line…and simply return the text property,…which we'll alias to text, and the line number,…which we'll alias to linenum.…
Let's execute that cell to bring that into scope,…and now what we want to do is create a session object…to connect to Neo4j.…We'll grab the beginning time stamp, and we need to read…each line from the database, so we will call session.run,…passing in our read_lines_query.…Result is an iterator, so we need to iterate…over each record in the result, printing out each line.…
We will reference the line number and text values…from the record object, using this subscript notation.…
- Strengths and weaknesses of Neo4j
- Data modeling
- Creating a database
- Joining data sets
- Modeling data for joining data sets
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Intermediate
1. Neo4j in Five Minutes
A brief overview of Neo4j3m 23s
2. Create a Database
3. Join Two Datasets
4. Search a Database
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.