November 2022
Intermediate to advanced
294 pages
5h 58m
English
Before we get down to the nitty-gritty of querying graphs, let’s look at some raw Bolt.Sips responses to gain some familiarity with how graph data is shipped across our comms channel—the Bolt connection.
Let’s first take a quick peek at the %Bolt.Sips.Response{} struct to get a feel for how this is structured and what kinds of data fields are supported:
| | iex> %Bolt.Sips.Response{} |
| | %Bolt.Sips.Response{ |
| | bookmark: nil, |
| | fields: nil, |
| | notifications: [], |
| | plan: nil, |
| | profile: nil, |
| | records: [], |
| » | results: [], |
| » | stats: [], |
| | type: nil |
| | } |
For now, we are going to be mainly looking at the results and stats fields, and later we’ll use the type field as a means to select between the two.
We’ll keep things simple ...