mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-14 12:35:35 +00:00
minor change
This commit is contained in:
parent
68d13b2220
commit
6c9a77b336
@ -244,7 +244,7 @@ Next, we convert the map back to an array, using reduce again, concatenating all
|
||||
|
||||
Finally, we set the result of the merged array back into the first doc.
|
||||
|
||||
To use this, you will need to update '.myArray' to be the expression to your array (e.g. .my.array), and '.a' to be the key field of your array (e.g. '.name')
|
||||
To use this, you will need to update '.myArray' in the expression to your array (e.g. .my.array), and '.a' to be the key field of your array (e.g. '.name')
|
||||
|
||||
Thanks Kev from [stackoverflow](https://stackoverflow.com/a/70109529/1168223)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user