Adding a query_all method that fetches all results irrespective of page size