Implement RETURNING both for DeleteQuery and UpdateQuery