diff --git a/jq/filter-out-results-based-on-list-of-values.md b/jq/filter-out-results-based-on-list-of-values.md index 95d34218..6fc77b81 100644 --- a/jq/filter-out-results-based-on-list-of-values.md +++ b/jq/filter-out-results-based-on-list-of-values.md @@ -23,7 +23,7 @@ can filter the array down to those objects whose IDs are exclude. ``` -jq '.[] | select([.id] | inside["456", "963"] | not)' data.json +jq '.[] | select([.id] | inside(["456", "963"]) | not)' data.json ``` Inside that `select`, we grab the `id` as a single value array, check if that