|
|
@ -90,14 +90,17 @@ flowchart RL
|
|
|
|
D-->C-->B
|
|
|
|
D-->C-->B
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
`/messages` with `dir=f` would return
|
|
|
|
`/messages` with `dir=f` would
|
|
|
|
`[A, B, C, D, E, F, G]`
|
|
|
|
return `[A, B, C, D, E, F, G]`.
|
|
|
|
|
|
|
|
|
|
|
|
`/relations` on event `A` with `rel_type=m.thread` and `dir=f` would return
|
|
|
|
`/relations` on event `A` with `rel_type=m.thread` and `dir=f` would
|
|
|
|
`[A, B, G]`.
|
|
|
|
return `[A, B, G]`.
|
|
|
|
|
|
|
|
|
|
|
|
`/relations` on event `A` with `recurse=true` and `dir=f` would return
|
|
|
|
`/relations` on event `A` with `recurse=true` and `dir=f` would
|
|
|
|
`[A, B, D, E, G]`.
|
|
|
|
return `[A, B, D, E, G]`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`/relations` on event `A` with `recurse=true`, `dir=b` and `limit=2` would
|
|
|
|
|
|
|
|
return `[G, E]`.
|
|
|
|
|
|
|
|
|
|
|
|
## Unstable prefix
|
|
|
|
## Unstable prefix
|
|
|
|
|
|
|
|
|
|
|
|