|
smollerGraph 0.20.2
A small graph database, from scratch
|
A relationship from a node in a pattern to the next one, such as -[:EATS]->, or -[:EATS*2]->, which is two of them in a row. More...
#include <parser.h>
Public Attributes | |
| std::vector< std::string > | types |
| Its types: a relationship of any of them matches. | |
| int | hops = 1 |
| Direction | direction = Direction::kOut |
| Which way to follow it from the node before it: out, in when it's written with its arrow on the left, or both with no arrow. | |
| std::string | weight |
| The property a cheapest path adds up, as in -[:KNOWS* WSHORTEST(weight)]-, which is how Kùzu writes it. | |
A relationship from a node in a pattern to the next one, such as -[:EATS]->, or -[:EATS*2]->, which is two of them in a row.
One written <-[:EATS]- goes the other way, from the next node to this one, and one written -[:EATS]-, with no arrow, goes either way.
| Direction smollergraph::RelationshipPattern::direction = Direction::kOut |
| std::vector<std::string> smollergraph::RelationshipPattern::types |
| std::string smollergraph::RelationshipPattern::weight |