Skip to content

Commit 9224ad6

Browse files
committed
Link to eJSONPath docs in native PG JSON(B) vs EQL docs
1 parent beabf2b commit 9224ad6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

NATIVE_POSTGRES_JSON_COMPARED_TO_EQL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Native PostgreSQL JSON(B) Compared to EQL
22

3-
EQL supports a subset of functionality supported by the native PostgreSQL JSON(B) functions and operators.
3+
EQL supports a subset of functionality supported by the native PostgreSQL JSON(B) functions and operators.
44
The following examples compare native PostgreSQL JSON(B) functions and operators to the related functionality in EQL.
55

66
## `json ->> text``text` and `json -> text``jsonb`/`json`
@@ -17,7 +17,7 @@ SELECT plaintext_jsonb->>'field_a' FROM examples;
1717

1818
### EQL
1919

20-
EQL JSONB functions accept an eJSONPath as an argument (instead of using `->`/`->>`) for lookups.
20+
EQL JSONB functions accept an [eJSONPath](./JSON.md) as an argument (instead of using `->`/`->>`) for lookups.
2121

2222
#### Decryption example
2323

@@ -100,7 +100,7 @@ SELECT plaintext_jsonb->>0 FROM examples;
100100

101101
### EQL
102102

103-
EQL JSONB functions accept an eJSONPath as an argument (instead of using `->`/`->>`) for lookups.
103+
EQL JSONB functions accept an [eJSONPath](./JSON.md) as an argument (instead of using `->`/`->>`) for lookups.
104104

105105
#### Decryption example
106106

@@ -211,9 +211,9 @@ SELECT plaintext_jsonb#>>'{field_a,field_b}' FROM examples;
211211

212212
### EQL
213213

214-
EQL JSONB functions accept an eJSONPath as an argument (instead of using `#>`/`#>>`) for lookups.
214+
EQL JSONB functions accept an [eJSONPath](./JSON.md) as an argument (instead of using `#>`/`#>>`) for lookups.
215215

216-
Note that these are similar to the examples for `->`/`->>`.
216+
Note that these are similar to the examples for `->`/`->>`.
217217
The difference in these examples is that the path does a lookup multiple levels deep.
218218

219219
#### Decryption example
@@ -411,7 +411,7 @@ Would return the EQL plaintext payload with an array (`[1, 2, 3]` for example):
411411

412412
#### Comparison example
413413

414-
`cs_ste_vec_terms_v1` (note that terms is plural) can be used to return an array of ORE terms for comparison.
414+
`cs_ste_vec_terms_v1` (note that terms is plural) can be used to return an array of ORE terms for comparison.
415415
The array can be `unnest`ed to work with a `SETOF` ORE terms for comparison.
416416

417417
The eJSONPath used with `cs_ste_vec_terms_v1` needs to end with `[*]` (`$.some_array_field[*]` for example).

0 commit comments

Comments
 (0)