[MDEV-15745] Add the previous linked node in the graph query Created: 2018-03-31 Updated: 2018-04-16 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - OQGRAPH |
| Fix Version/s: | None |
| Type: | Task | Priority: | Trivial |
| Reporter: | Mike Reiche | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
As described in the example documentation: https://mariadb.com/kb/en/library/oqgraph-examples/ I find it very useful to add the previous linked node in the sequence result when querying the graph:
That helps to implement relationship types and restrict them in the query like:
Which only shows friends and friends of friends, but no family members. |
| Comments |
| Comment by Mike Reiche [ 2018-04-16 ] |
|
Can anyone tell me please, if this issue is relevant or I'm missing something? |