Query option for `distinct` method