Nugget for someone:
update "test-dev-api-counter" SET "ratingTest4" = if_not_exists("ratingTest4",0) + 1 WHERE "idDotTypeId"='wapm.kyhw.person' AND "relationType" = 'rating' RETURNING ALL NEW *