I see on the postgres documentation site that there is a function that allows you to delete pairs based on matching keys. I am wondering if there is a function / method to d