Skip to content

Commit fe98d62

Browse files
GavinMendelGleasongitbook-bot
authored andcommitted
GitBook: [#54] No subject
1 parent b4a5c1e commit fe98d62

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index/terminusx-db/how-to-guides/path-queries.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ TerminusDB allows _regular path expressions_ as a way to describe multihop searc
1010

1111
The syntax of path expressions, for expressions `A`, `B` and fields `F` is as follows:
1212

13-
| Expression | Example | Name | Description |
14-
| ---------- | ------------- | -------- | ---------------------------------------------------------------- |
15-
| `A,B` | `friend,name` | Sequence | First follow expression `A`, then from that node expression `B` |
16-
| `A\|B` | `friend\|foe` | Choice | Follow expression `A` or expression `B` |
17-
| `F+` | `friend+` | Plus | Follow the field `F` any number of times, but at least once |
18-
| `F*` | `friend*` | Star | Follow the field `F` any number of times, including zero |
19-
| `.` | `.` | Any | Follow any field `F` regardless of name |
20-
| `F` | `friend` | Field | Follow the field `F` |
21-
| `F{n,m}` | `friend{1,3}` | Times | Follow the field `F` between `n` and `m` times |
22-
| `(A)` | \`(friend | foe)\` | Group |
23-
| `F>` | `friend>` | Forward | Follow the field `F` forward. This is the same as `F`. |
24-
| `<F` | `<friend` | Backward | Follow the field `F` backward (who is linked to this node by `F` |
13+
| Expression | Example | Name | Description |
14+
| ---------- | --------------- | -------- | ---------------------------------------------------------------- |
15+
| `A,B` | `friend,name` | Sequence | First follow expression `A`, then from that node expression `B` |
16+
| `A\|B` | `friend\|foe` | Choice | Follow expression `A` or expression `B` |
17+
| `F+` | `friend+` | Plus | Follow the field `F` any number of times, but at least once |
18+
| `F*` | `friend*` | Star | Follow the field `F` any number of times, including zero |
19+
| `.` | `.` | Any | Follow any field `F` regardless of name |
20+
| `F` | `friend` | Field | Follow the field `F` |
21+
| `F{n,m}` | `friend{1,3}` | Times | Follow the field `F` between `n` and `m` times |
22+
| `(A)` | `(friend\|foe)` | Group | Group the expression for inclusion in a larger expression |
23+
| `F>` | `friend>` | Forward | Follow the field `F` forward. This is the same as `F`. |
24+
| `<F` | `<friend` | Backward | Follow the field `F` backward (who is linked to this node by `F` |
2525

2626
### Example: Ancestry
2727

0 commit comments

Comments
 (0)