Is it possible to mutate with query like in upsert?

Hi @chewxy
I don’t want to create new record. If query result is empty this inserts new record.
I want same functionality without an insert.