yq/pkg/yqlib/doc/headers/Multiply Operator.md
2020-11-18 09:50:52 +11:00

437 B

Like the multiple operator in jq, depending on the operands, this multiply operator will do different things. Currently only objects are supported, which have the effect of merging the RHS into the LHS.

Upcoming versions of yq will add support for other types of multiplication (numbers, strings).

Note that when merging objects, this operator returns the merged object (not the parent). This will be clearer in the examples below.