allow a query to be overriden without using the DSL