8 ms·
Comparison of last example from https://axel.leroy.sh/quick-refs#dasel https://axel.leroy.sh/quick-refs#dasel desel: .data.all().filterOr(moreThan(.quantity,3)
by wwader 2y ago
Comparison of last example from https://axel.leroy.sh/quick-refs#dasel https://axel.leroy.sh/quick-refs#dasel
desel:
.data.all().filterOr(moreThan(.quantity,3),equal(.quantity,3)).mapOf(key,key,quantity,quantity)
yq:
.data[] | select(.quantity >= 3) | {"key": .key, "quantity": .quantity}
jq:
.data[] | select(.quantity >= 3) | {key, quantity}