fix docstring (it works with any query type)