-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, `AllPaths` within the `json` package would search the entire JSON document until a leaf is found. This PR adds another function, `AllPathsWithDepth` which limits how deep into the JSON document to search. This will be helpful for `jsonb_path_query`, as wildcard accessors (`[*]`) need to search for all paths one level deep. Epic: None Release note: None
- Loading branch information
1 parent
a610010
commit 00077dd
Showing
2 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters