use the id, not the number of affected row: we really need to switch from Pair to a better type :D