yq/pkg/yqlib/doc/headers/With.md

2 lines
252 B
Markdown
Raw Normal View History

2021-09-16 00:55:26 +00:00
Use the `with` operator to conveniently make multiple updates to a deeply nested path, or to update array elements relatively to each other. The first argument expression sets the root context, and the second expression runs against that root context.