Skip to content

Commit

Permalink
Newline for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Jul 14, 2023
1 parent 9521d90 commit dc926f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vignettes/query.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ outpack_search(quote(usedby({C}) && parameter:year == 2022),
```

There are two important things to note about `usedby`:

* The query inside `usedby` will search the entire index, ignoring any `scope` or `name` parameters. This is because we want to find all packets which are used by `latest` `C`. If the subquery `C` was scoped this would return no results.
* The query inside `usedby` must return a single result. To ensure this it must either be a literal `id`, a call to `latest` or a call to `single`

Expand Down

0 comments on commit dc926f4

Please sign in to comment.