expose the query to the outside for grid widget provider