Skip to content

Commit

Permalink
Add a proper example for using the usebruno query library in the READ…
Browse files Browse the repository at this point in the history
…ME file. (#3464)
  • Loading branch information
ganesh-bruno authored Nov 12, 2024
1 parent bdfe9c1 commit 4000194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-query/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ get(data, '..items[?]', { id: 2, amount: 20 })
```
Array mapping [?] with corresponding mapper function
```js
get(data, '..items[?].amount', i => i.amount + 10)
get(data, '..items..amount[?]', amt => amt + 10)
```

### Publish to Npm Registry
Expand Down

0 comments on commit 4000194

Please sign in to comment.