mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +01:00
Add a proper example for using the usebruno query library in the README file. (#3464)
This commit is contained in:
parent
bdfe9c16f1
commit
40001949b8
@ -24,7 +24,7 @@ get(data, '..items[?]', { id: 2, amount: 20 })
|
|||||||
```
|
```
|
||||||
Array mapping [?] with corresponding mapper function
|
Array mapping [?] with corresponding mapper function
|
||||||
```js
|
```js
|
||||||
get(data, '..items[?].amount', i => i.amount + 10)
|
get(data, '..items..amount[?]', amt => amt + 10)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Publish to Npm Registry
|
### Publish to Npm Registry
|
||||||
|
Loading…
Reference in New Issue
Block a user