Added a way to return all data with a query