Is it possible to mutate with query like in upsert?

Oh yes you are right. In that case you will want to use the @if directive, which I reckon you’ve discovered.

Again, I agree with you that the name is unfortunate.

On the latter bit I will raise an issue.

1 Like